summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-27 08:05:55 -0500
committerBrad King <brad.king@kitware.com>2019-02-27 08:05:55 -0500
commitf369d59cddecf9f6a3b28329ab11b5f354c229bd (patch)
treea0b5cb6d5966e47998b4cd6aa48930e0a3689361 /Source
parentc2c7b9605c7e2c095c342c0641fc44875df89942 (diff)
parent4b95e7fe63d254b8e50f09f85a51e232a7470c7b (diff)
downloadcmake-f369d59cddecf9f6a3b28329ab11b5f354c229bd.tar.gz
Merge branch 'cmake_role-vs-fix' into release-3.14
Merge-request: !3028
Diffstat (limited to 'Source')
-rw-r--r--Source/cmakemain.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 890b74e0f2..a83f7dc8b5 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -498,7 +498,7 @@ static int do_build(int ac, char const* const* av)
return 1;
}
- cmake cm(cmake::RoleInternal, cmState::Unknown);
+ cmake cm(cmake::RoleInternal, cmState::Project);
cmSystemTools::SetMessageCallback([&cm](const char* msg, const char* title) {
cmakemainMessageCallback(msg, title, &cm);
});