Hi, I am trying to use install (CODE) with my cmake script when I invoke "make install" on the command line but when I run the "make install" on the following code
install(CODE "set( INSTALL_TO_ARTIFACTS install )" ) install(CODE "message(\"Sample install message.\")") message (" INSTALL_TO_ARTIFACTS is: ${INSTALL_TO_ARTIFACTS}" ) INSTALL_TO_ARTIFACTS is not set and "Sample install message." does not display I only see "INSTALL_TO_ARTIFACTS is: " in the console window Is there some additional setting required to make this work? Thanks, Rob -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake