Browse Source

Merge branch 'cmake-gui-reset-generator-toolset-and-platform' into release

Brad King 11 years ago
parent
commit
20f64bd2da
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/QtDialog/QCMake.cxx

+ 2 - 0
Source/QtDialog/QCMake.cxx

@@ -147,6 +147,8 @@ void QCMake::configure()
   this->CMakeInstance->SetStartOutputDirectory(this->BinaryDirectory.toLocal8Bit().data());
   this->CMakeInstance->SetGlobalGenerator(
     this->CMakeInstance->CreateGlobalGenerator(this->Generator.toLocal8Bit().data()));
+  this->CMakeInstance->SetGeneratorPlatform("");
+  this->CMakeInstance->SetGeneratorToolset("");
   this->CMakeInstance->LoadCache();
   this->CMakeInstance->SetSuppressDevWarnings(this->SuppressDevWarnings);
   this->CMakeInstance->SetWarnUninitialized(this->WarnUninitializedMode);