summaryrefslogtreecommitdiff
path: root/Tests/SimpleInstallS2/PostInstall.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/SimpleInstallS2/PostInstall.cmake')
-rw-r--r--Tests/SimpleInstallS2/PostInstall.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/SimpleInstallS2/PostInstall.cmake b/Tests/SimpleInstallS2/PostInstall.cmake
new file mode 100644
index 000000000..52ea140a5
--- /dev/null
+++ b/Tests/SimpleInstallS2/PostInstall.cmake
@@ -0,0 +1,6 @@
+MESSAGE("In post install")
+IF(PRE_INSTALL_DID_RUN)
+ MESSAGE("Pre and post install work fine")
+ELSE(PRE_INSTALL_DID_RUN)
+ MESSAGE(FATAL_ERROR "Pre install did not run before post install")
+ENDIF(PRE_INSTALL_DID_RUN)