summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLine
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-10-20 16:17:19 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2014-10-20 16:17:19 (GMT)
commitaee7e4a03b8b410212e2eae23d1ecc182c8da817 (patch)
treef578048b76fed26906e2eb0b776197b72f9f9834 /Tests/RunCMake/CommandLine
parent368e8de4cd5a5d97c9b5e81489bf014579211bda (diff)
downloadCMake-aee7e4a03b8b410212e2eae23d1ecc182c8da817.zip
CMake-aee7e4a03b8b410212e2eae23d1ecc182c8da817.tar.gz
CMake-aee7e4a03b8b410212e2eae23d1ecc182c8da817.tar.bz2
cmCacheManager: parse -D flags more strictly
In the case of: -DCACHE_VARS=-DEXTERNAL_PROJECT_CMAKE_ARG:BOOL=TRUE the variable is parsed out as: CACHE_VARS=-DEXTERNAL_PROJECT_CMAKE_ARG because the parser allows '=' in the variable name. Disallow such a name on the command line.
Diffstat (limited to 'Tests/RunCMake/CommandLine')
-rw-r--r--Tests/RunCMake/CommandLine/D_nested_cache-stderr.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CommandLine/D_nested_cache-stderr.txt b/Tests/RunCMake/CommandLine/D_nested_cache-stderr.txt
index a1cc8d3..bba64bc 100644
--- a/Tests/RunCMake/CommandLine/D_nested_cache-stderr.txt
+++ b/Tests/RunCMake/CommandLine/D_nested_cache-stderr.txt
@@ -1 +1 @@
-^--><--$
+^-->-DBAR:BOOL=BAZ<--$