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

2009-12-18 Thread Alexander Neundorf
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

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

2009-12-14 Thread James Zipperer
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! -J