diff options
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/MacroTest/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/MacroTest/CMakeLists.txt b/Tests/MacroTest/CMakeLists.txt index d4642a7..d65f4cf 100644 --- a/Tests/MacroTest/CMakeLists.txt +++ b/Tests/MacroTest/CMakeLists.txt @@ -37,11 +37,11 @@ MACRO(strange_macro m) ENDMACRO(strange_macro m) STRANGE_MACRO(var) set(second_var "second_var") -IF("${var}" EQUAL "strange_macro" AND "${second_var}" EQUAL "second_var") +IF("${var}" STREQUAL "strange_macro" AND "${second_var}" STREQUAL "second_var") PASS("Case Test" "(${var} ${second_var})") -ELSE("${var}" EQUAL "strange_macro" AND "${second_var}" EQUAL "second_var") +ELSE("${var}" STREQUAL "strange_macro" AND "${second_var}" STREQUAL "second_var") FAILED("Case test" "(${var} ${second_var})") -ENDIF("${var}" EQUAL "strange_macro" AND "${second_var}" EQUAL "second_var") +ENDIF("${var}" STREQUAL "strange_macro" AND "${second_var}" STREQUAL "second_var") # test backing up command MACRO(ADD_EXECUTABLE exec) |