summaryrefslogtreecommitdiff
path: root/Tests/MacroTest/context.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/MacroTest/context.cmake')
-rw-r--r--Tests/MacroTest/context.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/MacroTest/context.cmake b/Tests/MacroTest/context.cmake
index f4d7035fb..f7350d771 100644
--- a/Tests/MacroTest/context.cmake
+++ b/Tests/MacroTest/context.cmake
@@ -1,10 +1,10 @@
GET_CURRENT_FILE(current_file)
-IF(NOT "${current_file}" STREQUAL "${CMAKE_CURRENT_LIST_FILE}")
- MESSAGE(FATAL_ERROR
+if(NOT "${current_file}" STREQUAL "${CMAKE_CURRENT_LIST_FILE}")
+ message(FATAL_ERROR
"Macro file context is broken. Expected:\n"
" ${CMAKE_CURRENT_LIST_FILE}\n"
"but got:\n"
" ${current_file}\n"
"from the macro."
)
-ENDIF(NOT "${current_file}" STREQUAL "${CMAKE_CURRENT_LIST_FILE}")
+endif()