summaryrefslogtreecommitdiffstats
path: root/Tests/GeneratorExpression/check-common.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/GeneratorExpression/check-common.cmake')
-rw-r--r--Tests/GeneratorExpression/check-common.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/GeneratorExpression/check-common.cmake b/Tests/GeneratorExpression/check-common.cmake
index 8ffebd7..faf5d4f 100644
--- a/Tests/GeneratorExpression/check-common.cmake
+++ b/Tests/GeneratorExpression/check-common.cmake
@@ -1,5 +1,5 @@
-macro(check var val)
+function(check var val)
if(NOT "${${var}}" STREQUAL "${val}")
message(SEND_ERROR "${var} is \"${${var}}\", not \"${val}\"")
endif()
-endmacro()
+endfunction()