summaryrefslogtreecommitdiff
path: root/Tests/SimpleInstall/InstallScript1.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/SimpleInstall/InstallScript1.cmake')
-rw-r--r--Tests/SimpleInstall/InstallScript1.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/SimpleInstall/InstallScript1.cmake b/Tests/SimpleInstall/InstallScript1.cmake
new file mode 100644
index 000000000..27b7725f8
--- /dev/null
+++ b/Tests/SimpleInstall/InstallScript1.cmake
@@ -0,0 +1,5 @@
+MESSAGE("This is install script 1.")
+SET(INSTALL_SCRIPT_1_DID_RUN 1)
+IF(INSTALL_CODE_DID_RUN)
+ MESSAGE(FATAL_ERROR "Install script 1 did not run before install code.")
+ENDIF(INSTALL_CODE_DID_RUN)