mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +00:00
Only generate installation rules for rostests if the ROSTESTS_INSTALL environment variable is defined.
svn path=/trunk/; revision=73534
This commit is contained in:
@@ -834,5 +834,8 @@ function(add_rostests_file)
|
||||
endif()
|
||||
|
||||
add_cd_file(FILE ${_ROSTESTS_FILE} DESTINATION "reactos/bin${_ROSTESTS_SUBDIR}" FOR all)
|
||||
install(FILES ${_ROSTESTS_FILE} DESTINATION "$ENV{ROSTESTS_INSTALL}${_ROSTESTS_SUBDIR}" COMPONENT rostests)
|
||||
|
||||
if(DEFINED ENV{ROSTESTS_INSTALL})
|
||||
install(FILES ${_ROSTESTS_FILE} DESTINATION "$ENV{ROSTESTS_INSTALL}${_ROSTESTS_SUBDIR}" COMPONENT rostests)
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
Reference in New Issue
Block a user