[CMake] Mac debugging: provide a local FindX11.cmake?
Randolph M. Fritz
RFritz at lbl.gov
Thu Aug 16 16:27:13 EDT 2012
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 • RFritz at lbl.gov
Environmental Energy Technologies Division • Lawrence Berkeley Labs
More information about the CMake
mailing list