Hi,

The CMake 2.8.10 manual includes the following statement in the paragraph
about link_directories() command:

"Library locations returned by find_package() and find_library() are
absolute paths."

Would it be possible to include similar clarification in the sections for
find_package() and find_library()?

A user of my library asked why
XXX_INCLUDE_DIR takes directory location, but
XXX_LIBRARIES takes absolute path to library file(s).

I've found it difficult to explain the rationale really.
I could not find any back up in the manual.

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to