projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
da200b3
)
Only generate installation rules for rostests if the ROSTESTS_INSTALL environment...
author
Colin Finck
<colin@reactos.org>
Fri, 13 Jan 2017 09:43:12 +0000
(09:43 +0000)
committer
Colin Finck
<colin@reactos.org>
Fri, 13 Jan 2017 09:43:12 +0000
(09:43 +0000)
svn path=/trunk/; revision=73534
reactos/sdk/cmake/CMakeMacros.cmake
patch
|
blob
|
history
diff --git
a/reactos/sdk/cmake/CMakeMacros.cmake
b/reactos/sdk/cmake/CMakeMacros.cmake
index
c9c915d
..
0afd329
100644
(file)
--- a/
reactos/sdk/cmake/CMakeMacros.cmake
+++ b/
reactos/sdk/cmake/CMakeMacros.cmake
@@
-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()