summaryrefslogtreecommitdiffstats
path: root/Tests/GeneratorExpression/check-common.cmake
blob: faf5d4f164c72910e4c6e42390690e6d16cc364b (plain)
1
2
3
4
5
function(check var val)
  if(NOT "${${var}}" STREQUAL "${val}")
    message(SEND_ERROR "${var} is \"${${var}}\", not \"${val}\"")
  endif()
endfunction()