[cmake-developers] the future of FIND_PACKAGE()

Alexander Neundorf neundorf at kde.org
Fri Jun 30 11:09:38 EDT 2006


On Friday 30 June 2006 16:09, you wrote:
> Good idea.  If a version number is given we could use it to try to
> narrow the search.  We could look in lib/cmake/Foo-1.2 if no version is
> given or if the version is 1.2.  If the given version is 1.2 then we
> would not look in lib/cmake/Foo-3.4 for example.

How about looking in all lib/cmake/Foo*/ except Foo-x.y/ with x.y being less 
than the required version number ?
Would mean "at least" version x.y is required, not "exactly" version x.y is 
required.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net



More information about the cmake-developers mailing list