Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Tests / SimpleInstallS2 / InstallScript3.cmake
blobb1aecd4c282bc80569952a1e7076a9460103afa7
1 MESSAGE("This is install script 3.")
2 SET(INSTALL_SCRIPT_3_DID_RUN 1)
3 IF(INSTALL_CODE_WITH_COMPONENT_DID_RUN)
4   MESSAGE(FATAL_ERROR "Install script 3 did not run before install code with component.")
5 ENDIF(INSTALL_CODE_WITH_COMPONENT_DID_RUN)
7 IF(CMAKE_INSTALL_COMPONENT)
8 IF(NOT "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Development")
9   MESSAGE("CMAKE_INSTALL_COMPONENT=\"${CMAKE_INSTALL_COMPONENT}\"")
10   MESSAGE(FATAL_ERROR "Install script 3 should only run for \"Development\" INSTALL COMPONENT.")
11 ENDIF(NOT "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Development")
12 ENDIF(CMAKE_INSTALL_COMPONENT)