summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2020-06-30 17:44:37 (GMT)
committerBrad King <brad.king@kitware.com>2020-07-03 11:43:18 (GMT)
commit7a969fe21d736b6c6755b5dc7a105f1427242cdd (patch)
treee5049985a624ff703b52dcff17fad5f60cfbff8c /Source/cmVisualStudio10TargetGenerator.cxx
parent19f7588d3d715fdf3c32669fc756e2c68fbf1da5 (diff)
downloadCMake-7a969fe21d736b6c6755b5dc7a105f1427242cdd.zip
CMake-7a969fe21d736b6c6755b5dc7a105f1427242cdd.tar.gz
CMake-7a969fe21d736b6c6755b5dc7a105f1427242cdd.tar.bz2
cmMakefile: Refactor API to better handle empty config values
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 31754f4..5f6b41d 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -232,7 +232,8 @@ cmVisualStudio10TargetGenerator::cmVisualStudio10TargetGenerator(
, LocalGenerator(
(cmLocalVisualStudio10Generator*)target->GetLocalGenerator())
{
- this->Makefile->GetConfigurations(this->Configurations);
+ this->Configurations =
+ this->Makefile->GetGeneratorConfigs(cmMakefile::ExcludeEmptyConfig);
this->NsightTegra = gg->IsNsightTegra();
this->Android = gg->TargetsAndroid();
for (int i = 0; i < 4; ++i) {