On Saturday 07 August 2010 02:38:41 Eric Noulard wrote:
> 2010/8/7 Jashank
Jeremy <[email protected]>:
> > 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}")
> 
> LIST(APPEND
CMAKE_MODULE_PATH "${CMAKE_SOURCE_PREFIX}")
set(CMAKE_MODULE_PATH
${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)

This works,
too.

--Dennis

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to