summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-08-04 13:10:19 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-08-04 13:10:57 (GMT)
commitd4c2a58d1337cd383a8be6a5813f0ecd83548f2c (patch)
tree6db00f6f5104d80a0e2d835fc8eeb59514a25283 /Source
parent18cbf898f8a4e9d24d56932b78ceb5da4c5387ff (diff)
parentfe3b481babc01442428934af892166bd114ee7b0 (diff)
downloadCMake-d4c2a58d1337cd383a8be6a5813f0ecd83548f2c.zip
CMake-d4c2a58d1337cd383a8be6a5813f0ecd83548f2c.tar.gz
CMake-d4c2a58d1337cd383a8be6a5813f0ecd83548f2c.tar.bz2
Merge topic 'vs-VCTargetsPath-force-config'
fe3b481b VS: Fix VCTargetsPath detection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1100
Diffstat (limited to 'Source')
-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;