[CMake] *Config.cmake files

Pau Garcia i Quiles pgquiles at elpauer.org
Fri Jun 8 06:51:59 EDT 2007


Hello,

Look at http://www.cmake.org/Wiki/CMake_HowToFindInstalledSoftware and  
the Modules directory in the CMake installation

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to the amount of work, I usually need 10 days to answer)



Quoting "martin.lavery" <martin.lavery at gmail.com>:

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




More information about the CMake mailing list