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