summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-06-15 14:04:55 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-06-15 14:05:02 (GMT)
commitd3b981ab3ec7a0f66d408aa33700dfe4d570adff (patch)
treecf98d8d75aae1db10f1cf84944794bab338e9a5d /Source/cmVisualStudio10TargetGenerator.cxx
parentdf6f3ef9a6a2de945f43bf1f60e19d60f3137188 (diff)
parentba247ccabab05c0aad4fe7f56dd020bfa8ff4583 (diff)
downloadCMake-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.cxx2
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 =