[cmake-developers] Please review FindQt_versioned_tools

Brad King brad.king at kitware.com
Wed May 21 11:39:56 EDT 2014


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



More information about the cmake-developers mailing list