[CMake] XXX_DIR

Alexander Neundorf a.neundorf-work at gmx.net
Tue Feb 19 12:57:31 EST 2008


On Tuesday 19 February 2008, Fernando Cacciola wrote:
> Hi people,
>
> According to my experiments in 2.4.7, XXX_DIR seems rather special.
>
> Consider a CMakeLists.txt containing just "find_package(XYZ)"
>
> Run "cmake ."
>
> You'll see the error:
>
> CMake Error: XYZ_DIR is not set.  It must be set to the directory
> containing XYZConfig.cmake in order to use XYZ.

Usually you shouldn't need to set it. What do you want to do/what doesn't 
work ?

Alex


More information about the CMake mailing list