summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-06-14 19:10:39 (GMT)
committerBrad King <brad.king@kitware.com>2017-06-14 19:10:39 (GMT)
commit61c1848cdc88cc5d36b23d14d0721ba832739a58 (patch)
tree09dc7faf32e207f52368d4ceff8a401e63bce53e /Source/cmVisualStudio10TargetGenerator.cxx
parentdf1c187f2fdfa48bd36d770bac23f6503fd9b071 (diff)
parentba247ccabab05c0aad4fe7f56dd020bfa8ff4583 (diff)
downloadCMake-61c1848cdc88cc5d36b23d14d0721ba832739a58.zip
CMake-61c1848cdc88cc5d36b23d14d0721ba832739a58.tar.gz
CMake-61c1848cdc88cc5d36b23d14d0721ba832739a58.tar.bz2
Merge branch 'ipo-per-lang' into release-3.9
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 29a06b7..238c9e8 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -2255,7 +2255,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 =