On Friday 06 June 2008, hsanson wrote: > From the CMake 2.4 documentation I get: > > Directories listed in CMAKE_MODULE_PATH are searched for files called > "Find<name>.cmake". If no such file is found, it is expected that the > package is another project built by CMake that has a > "<name>Config.cmake" file. A cache entry called <name>_DIR is created > and is expected to be set to the directory containing this file. > > > It seems that CMake does not generate this "<name>Config.cmake" file nor > it sets the cache entry <name>_DIR. If this is the case how can I create > the file and the respective cache entry?? and were in my projects > CMakeLists.txt files shall I do it??
You have to set <name>_DIR to the directory where <name>Config.cmake is located. <name>Config.cmake should be created by that project (<name>). If that project doesn't install such a Config file, you have to use/write a Find<name>.cmake file. What project do you want to use ? Alex _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake