summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-20 13:10:48 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-02-20 13:10:48 (GMT)
commitb7351d8e14ea7cc05b0c5d45dae48a21aef298c1 (patch)
tree6f70c09f84c3c3e04d8e251afc1e41b3b4cb0a7f /Source/QtDialog
parent14713eebfb3152bb7b3591515da5780b4eec1dd3 (diff)
parent1ade687d8dbe2952bc12dabeaaaaf0abec5b98cf (diff)
downloadCMake-b7351d8e14ea7cc05b0c5d45dae48a21aef298c1.zip
CMake-b7351d8e14ea7cc05b0c5d45dae48a21aef298c1.tar.gz
CMake-b7351d8e14ea7cc05b0c5d45dae48a21aef298c1.tar.bz2
Merge topic 'cmake-gui-reset-generator-toolset-and-platform'
1ade687d cmake-gui: Reset generator platform and toolset on configure (#15411)
Diffstat (limited to 'Source/QtDialog')
-rw-r--r--Source/QtDialog/QCMake.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx
index b833648..996aa75 100644
--- a/Source/QtDialog/QCMake.cxx
+++ b/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);