On 05.05.2014 20:19, Theodore Papadopoulo wrote:
This variable XXX_DIR is set to the installation directory of XXX,
which contains in the subdirectory share/cmake/XXX the proper config
files. But find_package does not find them, even though the
documentation states that XXX_DIR is used as a prefix and that (for
unix) a set of subdirectories are searched. [ see the prefix section
and then subsection 2. of prefix generation].
The "<package>_DIR" variable listed under 2. is an environment (not
cmake) variable:
"Search paths specified in cmake-specific environment variables."
There is a "<package>_DIR" cache variable that cmake itself creates for
config mode packages to hold the path of the config file (not prefix).
Nils
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake