diff options
Diffstat (limited to 'Tests/SimpleInstallS2/PostInstall.cmake')
-rw-r--r-- | Tests/SimpleInstallS2/PostInstall.cmake | 6 |
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..52ea140 --- /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) |