Hi,
I am currently writing a FindXXX.cmake file which uses find_path to find 
an include path. Unfortunately it turns out that there might be several 
versions of the file in the PATHs/HINTS (e.g. several revisions of the 
package). (I handle this with test using the try_compile command).

My question is the following:
If I determine that the path which cmake found with "find_path" is not the one, 
I am looking for (i.e. wrong version), is there a way to "continue" the 
find_path comment, to get the next match for a specific file? Alternatively is 
there a way to explicitly exclude a path (in my case the path of the first 
match) for the find_path command?

Cheers, Klaus


      
_______________________________________________
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