[CMake] search order of find_file when multiple names are given

James Zipperer james.zipperer at modsystems.com
Mon Dec 14 21:00:45 EST 2009


I have a find_file command with multiple names supplied, like the following:

find_file(SOMEVAR NAMES name1 name2 name3)

I'm wondering what happens if name1, name2, and name3 all exist in the same directory.  Is it guaranteed that find_file will always return the full path to name1?

Thanks!

-James


________________________________
This message contains information which is confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail and delete the message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091214/e0197640/attachment.htm>


More information about the CMake mailing list