Greetings,

I am learning cmake.

If I were to have  some  homebrewed "ModulesForCMakeIdiots.cmake" from my 
learning project in say ${CMAKE_SOURCE_DIR}/modules
and I set this command:-

install(FILES ${CMAKE_SOURCE_DIR}/modules/*.cmake /usr/local/someplace )

do be done  AT INSTALL time  
(i.e. I want to  install the modules on  the file syatem say 
/usr/local/someplace) -the above is like to   copy   the modules to 
${INSTALL_PREFIX}/usr/local/someplace.

So how do I  tell cmake to  copy to   /usr/local/someplace instead?


advice would be appreciated
luxInteg 
_______________________________________________
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

Reply via email to