hi,
I am using
(INSTALL SCRIPT foo)
inside foo how can I check that generator type is RPM or not ?
I tried with this code
if(CPACK_GENERATOR MATCHES "RPM")
EXECUTE_PROCESS(COMMAND echo ${CMAKE_INSTALL_PREFIX})
endif(CPACK_GENERATOR MATCHES "RPM")
But this code doesn't work.
regards
Vivek Goel
--
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