[CMake] CMAKE_CURRENT_SOURCE_DIR for modules

Bill Hoffman bill.hoffman at kitware.com
Tue Sep 30 11:46:58 EDT 2008


James Bigler wrote:
> Sure, but how can I do this from within FindMyPackage.cmake?
> 

Leave off the .cmake.


include(extrastuff)

should work if CMAKE_MODULE_PATH is set correctly.

-Bill


More information about the CMake mailing list