diff options
Diffstat (limited to 'Tests/GeneratorExpression/check-common.cmake')
-rw-r--r-- | Tests/GeneratorExpression/check-common.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/GeneratorExpression/check-common.cmake b/Tests/GeneratorExpression/check-common.cmake new file mode 100644 index 0000000..8ffebd7 --- /dev/null +++ b/Tests/GeneratorExpression/check-common.cmake @@ -0,0 +1,5 @@ +macro(check var val) + if(NOT "${${var}}" STREQUAL "${val}") + message(SEND_ERROR "${var} is \"${${var}}\", not \"${val}\"") + endif() +endmacro() |