summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-08-03 16:00:05 (GMT)
committerBrad King <brad.king@kitware.com>2017-08-03 16:00:05 (GMT)
commitcc08d0872c453fd22f4cbcdfb568bc7339c6b693 (patch)
treee7256b999702f4c31d2b405b035a32962fc5c336
parentdcb01e97cd1ca799ff6d7eee3e553d052d5c351b (diff)
parentfe3b481babc01442428934af892166bd114ee7b0 (diff)
downloadCMake-cc08d0872c453fd22f4cbcdfb568bc7339c6b693.zip
CMake-cc08d0872c453fd22f4cbcdfb568bc7339c6b693.tar.gz
CMake-cc08d0872c453fd22f4cbcdfb568bc7339c6b693.tar.bz2
Merge branch 'vs-VCTargetsPath-force-config' into release-3.9
Merge-request: !1100
-rw-r--r--Source/cmGlobalVisualStudio10Generator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx
index e3835ff..4fff11a 100644
--- a/Source/cmGlobalVisualStudio10Generator.cxx
+++ b/Source/cmGlobalVisualStudio10Generator.cxx
@@ -757,6 +757,7 @@ bool cmGlobalVisualStudio10Generator::FindVCTargetsPath(cmMakefile* mf)
std::vector<std::string> cmd;
cmd.push_back(this->GetMSBuildCommand());
cmd.push_back(vcxproj);
+ cmd.push_back("/p:Configuration=Debug");
cmd.push_back(std::string("/p:VisualStudioVersion=") +
this->GetIDEVersion());
std::string out;