summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/ccmake.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/CursesDialog/ccmake.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/CursesDialog/ccmake.cxx')
-rw-r--r--Source/CursesDialog/ccmake.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx
index a3e0717..6dc692e 100644
--- a/Source/CursesDialog/ccmake.cxx
+++ b/Source/CursesDialog/ccmake.cxx
@@ -6,6 +6,7 @@
#include "cmCursesStandardIncludes.h"
#include "cmDocumentation.h"
#include "cmDocumentationEntry.h"
+#include "cmState.h"
#include "cmSystemTools.h"
#include "cmake.h"
@@ -83,7 +84,7 @@ int main(int argc, char const* const* argv)
cmDocumentation doc;
doc.addCMakeStandardDocSections();
if (doc.CheckOptions(argc, argv)) {
- cmake hcm(cmake::RoleInternal);
+ cmake hcm(cmake::RoleInternal, cmState::Unknown);
hcm.SetHomeDirectory("");
hcm.SetHomeOutputDirectory("");
hcm.AddCMakePaths();