The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12439 
====================================================================== 
Reported By:                freddie
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12439
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-09-01 13:15 EDT
Last Modified:              2011-09-01 13:15 EDT
====================================================================== 
Summary:                    IF () doesn't use short-circuit evaluation
Description: 
SET(var "foo")
IF (var MATCHES "(foo)" OR var MATCHES "(bar)")
MESSAGE("matched: ${CMAKE_MATCH_1}")
ENDIF ()

outputs "matched: ".
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-09-01 13:15 freddie        New Issue                                    
======================================================================

_______________________________________________
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to