[CMake] case in IF statements

Karl Merkley karl at elemtech.com
Thu Jun 15 12:05:45 EDT 2006


I'm playing with cmake 2.4-2.   I read recently that had been changed  
to accept lower case arguments  (if instead of IF).  However, it  
appears that modifiers within the IF statement still must be upper  
cased.  For example,  if (NOT UNIX)  appears to work but if (not  
UNIX) fails.   I noticed the same behavior with AND, MATCHES and  
STREQUAL in an IF statement.    Is this by design or is it a bug?

     Karl


More information about the CMake mailing list