On 2012-08-16 19:23:34 +0000, Andreas Pakulat said:

You can simply set CMAKE_MODULE_PATH to a directory to get cmake to search that first for find-modules. The usual idiom is to have a cmake dir in the project and set the variable to that.

So far, my attempts to set this are a dismal failure.

I added:
 set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMakeFiles")
to the top of CMakeLists.txt and, as far as I can tell, it's not doing anything. I can't see CMAKE_MODULE_PATH in the cache. What am I missing here?

--
Randolph M. Fritz • rfr...@lbl.gov
Environmental Energy Technologies Division • Lawrence Berkeley Labs


--

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