[CMake] *Config.cmake files

martin.lavery martin.lavery at gmail.com
Fri Jun 8 06:40:14 EDT 2007


Hi,

I'm building a CMakeList.txt file and need to include a package like:

SET(OpenSceneGraph_DIR /OpenSceneGraph_DIR)
FIND_PACKAGE(OpenSceneGraph)

And when i try to build i get this error:

CMake Error: OpenSceneGraph_DIR is set to "/OpenSceneGraph_DIR",  
which is not
a directory containing OpenSceneGraphConfig.cmake

I can't seem to find any reference's to how to go about making a  
*Config.cmake file, can give any where me a idea where to find out  
about it?

Kind regards,
Maritn


More information about the CMake mailing list