InstallScript3.cmake 590 B

123456789101112
  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)
  6. IF(CMAKE_INSTALL_COMPONENT)
  7. IF(NOT "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Development")
  8. MESSAGE("CMAKE_INSTALL_COMPONENT=\"${CMAKE_INSTALL_COMPONENT}\"")
  9. MESSAGE(FATAL_ERROR "Install script 3 should only run for \"Development\" INSTALL COMPONENT.")
  10. ENDIF(NOT "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Development")
  11. ENDIF(CMAKE_INSTALL_COMPONENT)