summaryrefslogtreecommitdiff
path: root/Tests/SimpleInstallS2/InstallScript2.cmake
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-02-13 18:21:12 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-02-13 18:21:12 -0800
commitef8aa19c33e83ff019595fd7f8fdc29c35c336a3 (patch)
tree6501b44707b5c6a88fa5f817adee1a3ffcb0012d /Tests/SimpleInstallS2/InstallScript2.cmake
parent035c7fabc3b82cbc9a346c11abe2e9462b4c0379 (diff)
downloadcmake-ef8aa19c33e83ff019595fd7f8fdc29c35c336a3.tar.gz
cmake-ef8aa19c33e83ff019595fd7f8fdc29c35c336a3.tar.bz2
cmake-ef8aa19c33e83ff019595fd7f8fdc29c35c336a3.zip
Imported Upstream version 2.8.10.2upstream/2.8.10.2
Diffstat (limited to 'Tests/SimpleInstallS2/InstallScript2.cmake')
-rw-r--r--Tests/SimpleInstallS2/InstallScript2.cmake26
1 files changed, 13 insertions, 13 deletions
diff --git a/Tests/SimpleInstallS2/InstallScript2.cmake b/Tests/SimpleInstallS2/InstallScript2.cmake
index 927cae8b6..c1d20a3a6 100644
--- a/Tests/SimpleInstallS2/InstallScript2.cmake
+++ b/Tests/SimpleInstallS2/InstallScript2.cmake
@@ -1,14 +1,14 @@
-MESSAGE("This is install script 2.")
-IF(INSTALL_SCRIPT_1_DID_RUN)
- MESSAGE("Install script ordering works.")
-ELSE(INSTALL_SCRIPT_1_DID_RUN)
- MESSAGE(FATAL_ERROR "Install script 1 did not run before install script 2.")
-ENDIF(INSTALL_SCRIPT_1_DID_RUN)
-IF(INSTALL_CODE_DID_RUN)
- MESSAGE("Install code ordering works.")
-ELSE(INSTALL_CODE_DID_RUN)
- MESSAGE(FATAL_ERROR "Install script 2 did not run after install code.")
-ENDIF(INSTALL_CODE_DID_RUN)
-FILE(WRITE "${CMAKE_INSTALL_PREFIX}/MyTest/InstallScriptOut.cmake"
- "SET(CMAKE_INSTALL_SCRIPT_DID_RUN 1)\n"
+message("This is install script 2.")
+if(INSTALL_SCRIPT_1_DID_RUN)
+ message("Install script ordering works.")
+else()
+ message(FATAL_ERROR "Install script 1 did not run before install script 2.")
+endif()
+if(INSTALL_CODE_DID_RUN)
+ message("Install code ordering works.")
+else()
+ message(FATAL_ERROR "Install script 2 did not run after install code.")
+endif()
+file(WRITE "${CMAKE_INSTALL_PREFIX}/MyTest/InstallScriptOut.cmake"
+ "set(CMAKE_INSTALL_SCRIPT_DID_RUN 1)\n"
)