diff options
author | Juan Ramos <cmake@jpr.mozmail.com> | 2022-10-21 01:53:14 (GMT) |
---|---|---|
committer | Juan Ramos <cmake@jpr.mozmail.com> | 2022-10-21 01:53:14 (GMT) |
commit | 3c3bce133dda14a60d15eaa03edff527a53c01d4 (patch) | |
tree | 61ba8fdd12f66c12d58783aad3b2bce1c18eee32 /Source/CursesDialog | |
parent | f4995637a78dbc6c08b7472f55bb84936c9c4ab0 (diff) | |
download | CMake-3c3bce133dda14a60d15eaa03edff527a53c01d4.zip CMake-3c3bce133dda14a60d15eaa03edff527a53c01d4.tar.gz CMake-3c3bce133dda14a60d15eaa03edff527a53c01d4.tar.bz2 |
cmake: Honor CMAKE_GENERATOR env var in --help output
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r-- | Source/CursesDialog/ccmake.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx index 1f7776c..70ed648 100644 --- a/Source/CursesDialog/ccmake.cxx +++ b/Source/CursesDialog/ccmake.cxx @@ -77,7 +77,7 @@ int main(int argc, char const* const* argv) cmDocumentation doc; doc.addCMakeStandardDocSections(); if (doc.CheckOptions(argc, argv)) { - cmake hcm(cmake::RoleInternal, cmState::Unknown); + cmake hcm(cmake::RoleInternal, cmState::Help); hcm.SetHomeDirectory(""); hcm.SetHomeOutputDirectory(""); hcm.AddCMakePaths(); |