Re: [CMake] Setting CMAKE_MODULE_PATH in CMakeLists.txt

2010-08-07 Thread Dennis Schridde
On Saturday 07 August 2010 02:38:41 Eric Noulard wrote: > 2010/8/7 Jashank Jeremy : > > Hi, > > > > I'm working on a project that requires an additional module, which is > > shipped with the project, but I'd like CMake to add CMAKE_SOURCE_PATH > > to CMAKE_MODULE_PATH to pick up the additional mod

Re: [CMake] Setting CMAKE_MODULE_PATH in CMakeLists.txt

2010-08-06 Thread Eric Noulard
2010/8/7 Jashank Jeremy : > Hi, > > I'm working on a project that requires an additional module, which is > shipped with the project, but I'd like CMake to add CMAKE_SOURCE_PATH > to CMAKE_MODULE_PATH to pick up the additional module. > > I've tried adding > > set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_

[CMake] Setting CMAKE_MODULE_PATH in CMakeLists.txt

2010-08-06 Thread Jashank Jeremy
Hi, I'm working on a project that requires an additional module, which is shipped with the project, but I'd like CMake to add CMAKE_SOURCE_PATH to CMAKE_MODULE_PATH to pick up the additional module. I've tried adding set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_PATH}:${CMAKE_MODULE_PATH}") to my CMak