summaryrefslogtreecommitdiffstats
path: root/Tests/SimpleInstall
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/SimpleInstall')
-rw-r--r--Tests/SimpleInstall/CMakeLists.txt3
1 files changed, 2 insertions, 1 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"
)