diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2019-02-26 19:48:13 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2019-02-26 19:52:17 (GMT) |
commit | 4b95e7fe63d254b8e50f09f85a51e232a7470c7b (patch) | |
tree | 95051f83c03a03b638334f2e47cd2baf9345dee7 /Source/cmakemain.cxx | |
parent | 8455e166a9655afa70b34e3b5c9586470041e87c (diff) | |
download | CMake-4b95e7fe63d254b8e50f09f85a51e232a7470c7b.zip CMake-4b95e7fe63d254b8e50f09f85a51e232a7470c7b.tar.gz CMake-4b95e7fe63d254b8e50f09f85a51e232a7470c7b.tar.bz2 |
CMAKE_ROLE: Fix value in --build for Visual Studio generators
Fixes: #18990
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r-- | Source/cmakemain.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index 890b74e..a83f7dc 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); }); |