Reading the documentation I interpret it that I should write multiple find-commands in order to search multiple paths from most to less specific places. To keep CMake files as short as possible I'd like to list the paths to HINTS/PATH in a well defined order directly. I have to list multiple paths though to support different placements for different build configuration I have to support.
So the question is, is the order of the paths given to HINTS/PATHS well defined? i.e. will <path1> be searched before before <path2> for libname in this example or is it not known? find_library(LIBRARY_RELEASE libname HINTS <path1> <path2>) -- View this message in context: http://cmake.3232098.n2.nabble.com/Is-search-order-for-multiple-HINTS-PATHS-well-defined-tp7594623.html Sent from the CMake mailing list archive at Nabble.com. -- 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://public.kitware.com/mailman/listinfo/cmake
