On 05/21/2014 11:21 AM, Stephen Kelly wrote: > I found what I was remembering/referring to here: > > > http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/6313/focus=6314 [snip] On 05/21/2014 11:24 AM, Clinton Stimpson wrote: > Should we change FindQt4.cmake to loop over paths first, then it wouldn't > matter as much what order the names are? FindQt4 already handles the case > where the qmake for Qt3 is found first and skip over it.
We need to teach find_program the same NAMES_PER_DIR option that find_library already knows. Then FindQt4 can use it to locate the first qmake of any name in the search path. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers