summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-17 16:43:02 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-01-17 16:43:09 (GMT)
commit68e20f674a48be38d60e129f600faf7c483f2b97 (patch)
tree12eace6e569c0aa97f86f4405fdcbcdb75068adc /Source/QtDialog/QCMake.cxx
parentbd3685b6cfac90bb553df0330e1732c066fe7dca (diff)
parent4568d046c46a7357ab48ddfb1117bad39e65572c (diff)
downloadCMake-68e20f674a48be38d60e129f600faf7c483f2b97.zip
CMake-68e20f674a48be38d60e129f600faf7c483f2b97.tar.gz
CMake-68e20f674a48be38d60e129f600faf7c483f2b97.tar.bz2
Merge topic 'cmake_role-global-property'
4568d046c4 Properties: Add CMAKE_ROLE global property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2805
Diffstat (limited to 'Source/QtDialog/QCMake.cxx')
-rw-r--r--Source/QtDialog/QCMake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx
index 0133b88..9a6784e 100644
--- a/Source/QtDialog/QCMake.cxx
+++ b/Source/QtDialog/QCMake.cxx
@@ -27,7 +27,7 @@ QCMake::QCMake(QObject* p)
cmSystemTools::SetStdoutCallback(QCMake::stdoutCallback, this);
cmSystemTools::SetStderrCallback(QCMake::stderrCallback, this);
- this->CMakeInstance = new cmake(cmake::RoleProject);
+ this->CMakeInstance = new cmake(cmake::RoleProject, cmState::Project);
this->CMakeInstance->SetCMakeEditCommand(
cmSystemTools::GetCMakeGUICommand());
this->CMakeInstance->SetProgressCallback(QCMake::progressCallback, this);