[CMake] Finding Python3

Michael Wild themiwi at gmail.com
Thu Jul 22 04:36:06 EDT 2010


On 22. Jul, 2010, at 10:17 , Marcel Loose wrote:
[...]
> 
> Hi Michael and others,
> 
> I mostly agree with what your saying. However, IMHO, you refer to a
> "perfect world" situation, where all Find modules properly use VERSION
> to specify a version number and do not abuse NAMES for that.
> 
> I know that the current discussion focuses on FindPython; hence the
> subject ;-). However, in the "real world" quite a number of other Find
> scripts are shipped as part of the CMake distribution that don't follow
> this "perfect" scheme either.
> 
> So the real question should be, I guess: Should CMake be fixed by
> swapping the paths and names loops in the FindXXX() functions (issue
> 10718)? Or should all abusing Find scripts be fixed?
> 
> Best regards,
> Marcel Loose.

My question is more fundamental:

How do I find the most recent version? Because that is why NAMES is being "abused" in the first place.

Michael



More information about the CMake mailing list