include(${CMAKE_CURRENT_SOURCE_DIR}/extrastuff.cmake)

Just guessing but it seems like it should work..

Mike


On Sep 29, 2008, at 6:30 PM, James Bigler wrote:

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
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to