summaryrefslogtreecommitdiffstats
path: root/Tests/SimpleInstallS2
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/SimpleInstallS2')
-rw-r--r--Tests/SimpleInstallS2/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/SimpleInstallS2/CMakeLists.txt b/Tests/SimpleInstallS2/CMakeLists.txt
index 1efd5f1..a02556e 100644
--- a/Tests/SimpleInstallS2/CMakeLists.txt
+++ b/Tests/SimpleInstallS2/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)