diff options
author | Brad King <brad.king@kitware.com> | 2006-10-25 14:58:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-10-25 14:58:30 (GMT) |
commit | 9e29a742a931e67ed92038e0250af66bbff07ff7 (patch) | |
tree | b385414dd351287d96492dbfbcd6cd016c500694 | |
parent | b7e04e69ae872f3e665199c15b6a27ad6d91035f (diff) | |
download | CMake-9e29a742a931e67ed92038e0250af66bbff07ff7.zip CMake-9e29a742a931e67ed92038e0250af66bbff07ff7.tar.gz CMake-9e29a742a931e67ed92038e0250af66bbff07ff7.tar.bz2 |
BUG: EQUAL -> STREQUAL for string comparison.
-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) |