We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fail
1 parent ecab3dc commit 1fad77bCopy full SHA for 1fad77b
cmake/Assertion.cmake
@@ -29,11 +29,7 @@ endfunction()
29
# For each given line, if it is a variable, it will be expanded and indented by
30
# 2 spaces.
31
macro(fail FIRST_LINE)
32
- if(DEFINED "${FIRST_LINE}")
33
- set(MESSAGE "${${FIRST_LINE}}")
34
- else()
35
- set(MESSAGE "${FIRST_LINE}")
36
- endif()
+ set(MESSAGE "${FIRST_LINE}")
37
38
foreach(LINE IN ITEMS ${ARGN})
39
if(DEFINED "${LINE}")
0 commit comments