diff options
author | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-09-21 21:39:48 (GMT) |
---|---|---|
committer | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-09-22 07:49:41 (GMT) |
commit | 1811411fecf3d9769ad7a13f6ecd01c5351df9c4 (patch) | |
tree | 13b7d923cac709aefd3bcf1cf999ccddeebd0a40 /Source/cmLocalGenerator.cxx | |
parent | edb0bbd18b5c3dac16ab7d219f787513203529e4 (diff) | |
download | CMake-1811411fecf3d9769ad7a13f6ecd01c5351df9c4.zip CMake-1811411fecf3d9769ad7a13f6ecd01c5351df9c4.tar.gz CMake-1811411fecf3d9769ad7a13f6ecd01c5351df9c4.tar.bz2 |
cmGeneratorExpression: Move quiet flag to cmCompiledGeneratorExpression
The quiet flag is false for all but one call to Evaluate. Make the quiet flag
a setter of cmCompiledGeneratorExpression to be able to remove it from the
Evaluate function signature.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index e059548..19962e3 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1713,8 +1713,7 @@ void cmLocalGenerator::AddLanguageFlags(std::string& flags, cmGeneratorExpression ge; std::unique_ptr<cmCompiledGeneratorExpression> cge = ge.Parse(msvcRuntimeLibraryValue); - std::string const msvcRuntimeLibrary = - cge->Evaluate(this, config, false, target); + std::string const msvcRuntimeLibrary = cge->Evaluate(this, config, target); if (!msvcRuntimeLibrary.empty()) { if (const char* msvcRuntimeLibraryOptions = this->Makefile->GetDefinition( |