[CMake] IF Matches

Michael Wild themiwi at gmail.com
Thu Mar 3 05:33:06 EST 2011


On 03/03/2011 11:25 AM, Micha Renner wrote:
> Hello,
> 
> IF("bgdgbBromNN" MATCHES "Brom") 
> 	is true,
> but
> IF("Brom" MATCHES "bgdgbBromNN") 
> 	is false.
> 
> Should be same, or?
> 
> Greetings
> 
> Micha

No, the right-hand-side of MATCHES is a regular expression.


Michael


More information about the CMake mailing list