[CMake] relative CMAKE_MODULE_PATH

Eric Noulard eric.noulard at gmail.com
Mon Feb 16 06:45:06 EST 2009


2009/2/16 Pau Garcia i Quiles <pgquiles at elpauer.org>:
> Hello,
>
> This works for me with CMake CVS:
>
> SET( CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake )

Yes I do that too but...
this is not a relative path :-)

as asked in the first place:

>> is it possible to set a relative path as CMAKE_MODULE_PATH ?

I don't really know if relative path is meant to work.

See the "CMake use full paths" FAQ entry:

http://www.cmake.org/Wiki/CMake_FAQ#Why_does_CMake_use_full_paths.2C_or_can_I_copy_my_build_tree.3F

-- 
Erk


More information about the CMake mailing list