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 _______________________________________________ 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