summaryrefslogtreecommitdiff
path: root/Tests/SimpleInstall/PostInstall.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/SimpleInstall/PostInstall.cmake')
-rw-r--r--Tests/SimpleInstall/PostInstall.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/SimpleInstall/PostInstall.cmake b/Tests/SimpleInstall/PostInstall.cmake
index 222cc5ae91..d616221ef3 100644
--- a/Tests/SimpleInstall/PostInstall.cmake
+++ b/Tests/SimpleInstall/PostInstall.cmake
@@ -1,6 +1,6 @@
message("In post install")
if(PRE_INSTALL_DID_RUN)
message("Pre and post install work fine")
-else(PRE_INSTALL_DID_RUN)
+else()
message(FATAL_ERROR "Pre install did not run before post install")
-endif(PRE_INSTALL_DID_RUN)
+endif()