CMake/Tests/SimpleInstall/PostInstall.cmake

7 lines
217 B
CMake
Raw Normal View History

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)