diff options
author | Brad King <brad.king@kitware.com> | 2015-09-23 13:07:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-23 13:09:25 (GMT) |
commit | 7de868c4d7c8bfe35d201ed480328f3177a1325b (patch) | |
tree | 2a30e41837218f147bda1384e915bb2287b975bf /Tests/GeneratorExpression/check-part1.cmake | |
parent | 44f2ade2cb8474cfc3e9f593958557a8761d89c0 (diff) | |
download | CMake-7de868c4d7c8bfe35d201ed480328f3177a1325b.zip CMake-7de868c4d7c8bfe35d201ed480328f3177a1325b.tar.gz CMake-7de868c4d7c8bfe35d201ed480328f3177a1325b.tar.bz2 |
Tests: Simplify GeneratorExpression check implementation
Use a function instead of a macro so we do not need an extra layer of
backslashes. Use a bracket argument to avoid another layer of extra
backslashes.
Diffstat (limited to 'Tests/GeneratorExpression/check-part1.cmake')
-rw-r--r-- | Tests/GeneratorExpression/check-part1.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/GeneratorExpression/check-part1.cmake b/Tests/GeneratorExpression/check-part1.cmake index 3207582..60b193f 100644 --- a/Tests/GeneratorExpression/check-part1.cmake +++ b/Tests/GeneratorExpression/check-part1.cmake @@ -55,5 +55,5 @@ check(test_semicolon ";") check(test_colons_1 ":") check(test_colons_2 "::") check(test_colons_3 "Qt5::Core") -check(test_colons_4 "C:\\\\CMake") +check(test_colons_4 [[C:\CMake]]) check(test_colons_5 "C:/CMake") |