cmake/Tests/GeneratorExpression/check-common.cmake
2015-11-17 17:22:37 +01:00

6 lines
154 B
CMake

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