diff options
author | Brad King <brad.king@kitware.com> | 2017-06-15 14:04:55 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-06-15 14:05:02 (GMT) |
commit | d3b981ab3ec7a0f66d408aa33700dfe4d570adff (patch) | |
tree | cf98d8d75aae1db10f1cf84944794bab338e9a5d /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | df6f3ef9a6a2de945f43bf1f60e19d60f3137188 (diff) | |
parent | ba247ccabab05c0aad4fe7f56dd020bfa8ff4583 (diff) | |
download | CMake-d3b981ab3ec7a0f66d408aa33700dfe4d570adff.zip CMake-d3b981ab3ec7a0f66d408aa33700dfe4d570adff.tar.gz CMake-d3b981ab3ec7a0f66d408aa33700dfe4d570adff.tar.bz2 |
Merge topic 'ipo-per-lang'
ba247cca IPO: Consider support for each language separately
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !964
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index b644405..d9b81a3 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -2285,7 +2285,7 @@ bool cmVisualStudio10TargetGenerator::ComputeClOptions( } // Check IPO related warning/error. - this->GeneratorTarget->IsIPOEnabled(configName); + this->GeneratorTarget->IsIPOEnabled(linkLanguage, configName); // Get preprocessor definitions for this directory. std::string defineFlags = |