On Tuesday 15 December 2009, James Zipperer wrote: > 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.
I think the order as you listed them will be used. > Is it guaranteed that find_file will always return the full > path to name1? Yes. Alex _______________________________________________ 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