Michael,
At first glance those would be what I need (although it is not clear
if I need to specify bin/lib/include for CMAKE_SYSTEM_IGNORE_PATH as
well as CMAKE_IGNORE_PATH.) I have tested both out, and unfortunately
they do not seem to exclude the CMAKE_INSTALL_PREFIX path when I
supply it - I still get find results even after appending the install
path to CMAKE_SYSTEM_IGNORE_PATH. I also tried
get_filename_component(PATH_NORMALIZED ${CMAKE_INSTALL_PREFIX}/lib ABSOLUTE)
to make it easier for Find to ignore the path, but that didn't seem to
help. I've tried forcing the results into the Cache as well. Is
there something else I need to do?
Thanks,
CY
On Thu, May 19, 2011 at 7:47 AM, Michael Hertling <[email protected]> wrote:
>
> Have you already tried the CMAKE_[SYSTEM_]IGNORE_PATH variables? At
> the first glance, they provide exactly the functionality you need.
_______________________________________________
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