See the documentation for the full explanation of the search order: http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:find_library
Long story short: Hints get searched before the system paths, and should only be set by some source of knowledge (location of other files, etc) and not populated with "guesses" or default locations. Paths get searched after system locations, and is the place to put default locations. Ryan On Wed, Oct 27, 2010 at 4:23 PM, Serghei Amelian <serghei.amel...@gmail.com> wrote: > Hello list, > > What is the difference between HINTS and PATHS, for example for find_library? > > Thanks > > -- > Serghei > _______________________________________________ > 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 > -- Ryan Pavlik HCI Graduate Student Virtual Reality Applications Center Iowa State University rpav...@iastate.edu http://academic.cleardefinition.com Internal VRAC/HCI Site: http://tinyurl.com/rpavlik _______________________________________________ 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