Re: [CMake] relative CMAKE_MODULE_PATH

2009-02-16 Thread Philip Lowman
.. Original Message ... On Mon, 16 Feb 2009 12:45:06 +0100 "Eric Noulard" wrote: >2009/2/16 Pau Garcia i Quiles : >> 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 :-) Try using CMAK

Re: [CMake] relative CMAKE_MODULE_PATH

2009-02-16 Thread Eric Noulard
2009/2/16 Pau Garcia i Quiles : > 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 r

Re: [CMake] relative CMAKE_MODULE_PATH

2009-02-16 Thread Pau Garcia i Quiles
Hello, This works for me with CMake CVS: SET( CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake ) On Mon, Feb 16, 2009 at 11:26 AM, Johannes Stallkamp wrote: > Hello list, > > is it possible to set a relative path as CMAKE_MODULE_PATH ? I > actually had problems with that (CMake 2.6.3-RC 8) > Is it

[CMake] relative CMAKE_MODULE_PATH

2009-02-16 Thread Johannes Stallkamp
Hello list, is it possible to set a relative path as CMAKE_MODULE_PATH ? I actually had problems with that (CMake 2.6.3-RC 8) Is it because the relative path would be resolved w.r.t current build dir and not w.r.t. to the directory with CMakeLists.txt ? Reason: I want to point CMAKE_MODULE_PATH t