The normal library search semantics on OS X are:

Normally, the linker goes through each path in the search paths one at a
time to find a dynamic version of the library. If none is found, it goes
through each of those paths looking for a static version of the same
library.

http://developer.apple.com/library/mac/#qa/qa1393/_index.html

The option -search_paths_first causes the linker to try shared and then
static in each path before trying the next path. Is there a way to make
find_library search with these semantics?
--

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