2014-09-04 22:21:28 +04:00
|
|
|
set(FOO "BAR")
|
|
|
|
|
|
|
|
if(NOT "FOO" STREQUAL "BAR")
|
|
|
|
message(FATAL_ERROR "The given literals should match")
|
2015-10-20 20:13:52 +03:00
|
|
|
elseif("FOO" STREQUAL "BING")
|
|
|
|
message(FATAL_ERROR "The given literals should not match")
|
2014-09-04 22:21:28 +04:00
|
|
|
endif()
|