diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-12-18 13:36:17 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-12-18 13:36:17 (GMT) |
commit | 3ce7eecedc2686520af930fb86cf5c7a79fd4fb1 (patch) | |
tree | 699117734f4dfeff415dee69c0ad26755684880a /Source/cmQtAutoGen.cxx | |
parent | 438ed3bfc180fbee98fa07af1eb427c6da209b68 (diff) | |
download | CMake-3ce7eecedc2686520af930fb86cf5c7a79fd4fb1.zip CMake-3ce7eecedc2686520af930fb86cf5c7a79fd4fb1.tar.gz CMake-3ce7eecedc2686520af930fb86cf5c7a79fd4fb1.tar.bz2 |
Autogen: Fix for problematic nested lists separator
In the AutogenInfo.cmake file the separator for nested lists
was `@LSEP@` which led to a speed regression because the `@`
character triggered an (unsuccessful) expression evaluation.
By setting the policy version of the CMake instance in the
`_autogen` target to 3.9, the OLD `@` evaluating behavior
controlled by policy CMP0053 is disabled.
Also the nested lists separator string is changed to `<<<S>>>`,
which solves the problem twofold.
Closes #17570
Diffstat (limited to 'Source/cmQtAutoGen.cxx')
-rw-r--r-- | Source/cmQtAutoGen.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGen.cxx b/Source/cmQtAutoGen.cxx index b9dd392..255a532 100644 --- a/Source/cmQtAutoGen.cxx +++ b/Source/cmQtAutoGen.cxx @@ -233,7 +233,7 @@ static bool RccListInputsQt5(std::string const& rccCommand, // - Class definitions -std::string const cmQtAutoGen::listSep = "@LSEP@"; +std::string const cmQtAutoGen::listSep = "<<<S>>>"; std::string const& cmQtAutoGen::GeneratorName(Generator type) { |