[CMake] Mac debugging: provide a local FindX11.cmake?
Andreas Pakulat
apaku at gmx.de
Thu Aug 16 15:23:34 EDT 2012
Hi,
Am Donnerstag, 16. August 2012 schrieb Randolph M. Fritz :
> I'm having problems find_package(X11) on Mac, and I'd like to provide a
> local FindX11.cmake so I can try alternatives without altering my cmake
> install. Is there any easy way to do that?
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.
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120816/bf2ab922/attachment.htm>
More information about the CMake
mailing list