summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-04-07 17:36:23 (GMT)
committerBrad King <brad.king@kitware.com>2021-04-07 17:53:22 (GMT)
commit3953dfcb315f6d85966703f01c7fbb0ac262e928 (patch)
treebedb763e0afdccbcc64fa5c6ae186eb83ff80fee /Tests/RunCMake/CMakeLists.txt
parentf8af94a2124d61e33f71f67b4ae282475314da25 (diff)
downloadCMake-3953dfcb315f6d85966703f01c7fbb0ac262e928.zip
CMake-3953dfcb315f6d85966703f01c7fbb0ac262e928.tar.gz
CMake-3953dfcb315f6d85966703f01c7fbb0ac262e928.tar.bz2
Restore support for backslashes in initial language-wide flags
Refactoring in commit bdc40742bd (CMakeDetermineCompilerId: Test without COMPILER_ID_FLAGS if REQUIRE_SUCCESS, 2021-02-27, v3.20.0-rc3~6^2) added an extra macro layer through which flag strings are passed. That caused an extra level of argument re-parsing, and broke flags with backslashes. Pass flags to the helper macro through variable names instead. Fixes: #22041
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r--Tests/RunCMake/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index f33e4af..78e0b6a 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -243,6 +243,7 @@ add_RunCMake_test(FileAPI -DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE}
add_RunCMake_test(FindBoost)
add_RunCMake_test(FindLua)
add_RunCMake_test(FindOpenGL)
+add_RunCMake_test(InitialFlags)
if(CMake_TEST_FindOpenSSL)
add_RunCMake_test(FindOpenSSL)
endif()