Просмотр исходного кода

Merge branch 'vs-VCTargetsPath-force-config' into release-3.9

Merge-request: !1100
Brad King 8 лет назад
Родитель
Сommit
cc08d0872c
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Source/cmGlobalVisualStudio10Generator.cxx

+ 1 - 0
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;