[cmake-developers] [CMake 0014384]: FPHSA should work differently for EXACT version with patch versions

Mantis Bug Tracker mantis at public.kitware.com
Sat Aug 31 11:16:13 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://cmake.org/Bug/view.php?id=14384 
====================================================================== 
Reported By:                Rolf Eike Beer
Assigned To:                Alex Neundorf
====================================================================== 
Project:                    CMake
Issue ID:                   14384
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2013-08-31 10:16 CDT
Last Modified:              2013-08-31 10:16 CDT
====================================================================== 
Summary:                    FPHSA should work differently for EXACT version with
patch versions
Description: 
There is currently no way to select e.g. Python 2.6.*. You can say

find_package(PythonLibs 2) and will get the most recent one of 2.*, e.g. 2.7 or
2.5.3
find_package(PythonLibs 2.6) and get the most recent one of 2.* that is at least
2.6, e.g. 2.7 or 2.6.3
find_package(PythonLibs 2.6 EXACT) and will get only 2.6

Giving an expression that matches 2.6.*, but not 2.7.* is currently not
possible.

I would say that "2.6.0 EXACT" would match 2.6 or 2.6.0, but "2.6 EXACT" would
match 2.6.*. Or one must be allowed to say "2.6.* EXACT".
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-08-31 10:16 Rolf Eike Beer New Issue                                    
2013-08-31 10:16 Rolf Eike Beer Status                   new => assigned     
2013-08-31 10:16 Rolf Eike Beer Assigned To               => Alex Neundorf   
======================================================================




More information about the cmake-developers mailing list