[CMake] CMAKE_CURRENT_SOURCE_DIR for modules

James Bigler jamesbigler at gmail.com
Mon Sep 29 18:30:08 EDT 2008


Is it possible to include a file that is local to a module?

I want to do this:

FIND_PACKAGE(MyPackage)

MyPackage.cmake:

include(extrastuff.cmake)
...

The problem is that extrastuff.cmake isn't found.

Thanks,
James


More information about the CMake mailing list