diff options
Diffstat (limited to 'Tests/ComplexRelativePaths/CMakeLists.txt')
-rw-r--r-- | Tests/ComplexRelativePaths/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/ComplexRelativePaths/CMakeLists.txt b/Tests/ComplexRelativePaths/CMakeLists.txt index 2d6de20..068b47e 100644 --- a/Tests/ComplexRelativePaths/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/CMakeLists.txt @@ -164,13 +164,13 @@ REMOVE(REMOVE_STRING ${removeVar1} f) # Test an IF inside a FOREACH. # FOREACH(x "a") - IF(1) + IF(${x} MATCHES "a") # Should always execute. SET(IF_INSIDE_FOREACH_THEN_EXECUTED 1) - ELSE(1) + ELSE(${x} MATCHES "a") # Should never execute. SET(IF_INSIDE_FOREACH_ELSE_EXECUTED 1) - ENDIF(1) + ENDIF(${x} MATCHES "a") ENDFOREACH(x) |