summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0054/CMP0054-WARN.cmake
blob: a6089293b91150f26f5652a4b5aac100b8cbc629 (plain)
1
2
3
4
5
6
7
set(FOO "BAR")

if(NOT "FOO" STREQUAL "BAR")
  message(FATAL_ERROR "The given literals should match")
elseif("FOO" STREQUAL "BING")
  message(FATAL_ERROR "The given literals should not match")
endif()