[cmake-developers] [CMake 0015261]: regex match when not matched do not clear cmake_match_0 and 1 var

Mantis Bug Tracker mantis at public.kitware.com
Mon Nov 24 07:58:23 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15261 
====================================================================== 
Reported By:                zezadas
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15261
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-11-24 07:58 EST
Last Modified:              2014-11-24 07:58 EST
====================================================================== 
Summary:                    regex match when not matched do not clear
cmake_match_0 and 1 var
Description: 
when regex match is not matched the var are not reseted, and keep the last
value, that bug propagates to other cmake and generate bad regex match

Steps to Reproduce: 
regex match something that exists
regex match something that not exists
regex match value, is the first match value

Additional Information: 
for example compiling gwenview from kde repo, it says that jpeglib as unknown
version 2060, but in this case the file it searched not matched the regexp and
the 2060 is from another cmakte that match version of lcms
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-11-24 07:58 zezadas        New Issue                                    
======================================================================



More information about the cmake-developers mailing list