cmake/Tests/GeneratorExpression/check-common.cmake
2013-03-16 19:13:01 +02:00

6 lines
148 B
CMake

macro(check var val)
if(NOT "${${var}}" STREQUAL "${val}")
message(SEND_ERROR "${var} is \"${${var}}\", not \"${val}\"")
endif()
endmacro()