I'm trying to use find_path() and find_library() to detect if a certain library 
is already in the system and, if not, build it myself. They find functions seem 
to find files that are located in CMAKE_INSTALL_PREFIX/lib etc (when 
CMAKE_INSTALL_PREFIX is a non-standard path). I'd kind of like to avoid this 
as, when it is a non-standard path, those files are most likely leftover from a 
previous build. However, none of the NO_X arguments seem disable this search, 
nor does (the hack of) setting CMAKE_INSTALL_PREFIX to a dummy value before 
calling find_path(). Is there some way to do this? Thanks. 
--

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