[CMake] Matching with two strngs
abid rahman
abidrahman2 at gmail.com
Thu Jun 5 04:46:51 EDT 2014
Hello,
How can I match a string to any of two strings?
For example, I want to check if a string is either "abc" or "xyz". How can
I check it?
IF(string1 MATCHES "abc\|xyz" doesn't work?
Regards
Abid K.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140605/4805edf0/attachment.html>
More information about the CMake
mailing list