diff options
-rw-r--r-- | Tests/SimpleInstall/CMakeLists.txt | 3 | ||||
-rw-r--r-- | Tests/SimpleInstallS2/CMakeLists.txt | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt index ede22c1..59790f0 100644 --- a/Tests/SimpleInstall/CMakeLists.txt +++ b/Tests/SimpleInstall/CMakeLists.txt @@ -41,6 +41,7 @@ ADD_CUSTOM_COMMAND( TARGET SimpleInstall POST_BUILD COMMAND ${CMAKE_COMMAND} - ARGS ${EXTRA_INSTALL_FLAGS} -Pcmake_install.cmake + ARGS ${EXTRA_INSTALL_FLAGS} + "-P${CMAKE_CURRENT_BINARY_DIR}/cmake_install.cmake" COMMENT "Install Project" ) diff --git a/Tests/SimpleInstallS2/CMakeLists.txt b/Tests/SimpleInstallS2/CMakeLists.txt index ede22c1..59790f0 100644 --- a/Tests/SimpleInstallS2/CMakeLists.txt +++ b/Tests/SimpleInstallS2/CMakeLists.txt @@ -41,6 +41,7 @@ ADD_CUSTOM_COMMAND( TARGET SimpleInstall POST_BUILD COMMAND ${CMAKE_COMMAND} - ARGS ${EXTRA_INSTALL_FLAGS} -Pcmake_install.cmake + ARGS ${EXTRA_INSTALL_FLAGS} + "-P${CMAKE_CURRENT_BINARY_DIR}/cmake_install.cmake" COMMENT "Install Project" ) |