summaryrefslogtreecommitdiffstats
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 0000000..d616221
--- /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()
+ message(FATAL_ERROR "Pre install did not run before post install")
+endif()