diff options
Diffstat (limited to 'Tests/SimpleInstall/CMakeLists.txt')
-rw-r--r-- | Tests/SimpleInstall/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt index 1efd5f1..a02556e 100644 --- a/Tests/SimpleInstall/CMakeLists.txt +++ b/Tests/SimpleInstall/CMakeLists.txt @@ -162,7 +162,7 @@ IF(APPLE AND NOT CTEST_TEST_CPACK) --build-target install COMMENT "Install Project" ) -ELSE(APPLE NOT CTEST_TEST_CPACK) +ELSE(APPLE AND NOT CTEST_TEST_CPACK) ADD_CUSTOM_COMMAND( TARGET ${install_target} POST_BUILD @@ -179,4 +179,4 @@ ELSE(APPLE NOT CTEST_TEST_CPACK) --build-target package COMMENT "Install Project" ) -ENDIF(APPLE NOT CTEST_TEST_CPACK) +ENDIF(APPLE AND NOT CTEST_TEST_CPACK) |