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/QtDialog | |
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/QtDialog')
-rw-r--r-- | Source/QtDialog/CMakeSetup.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx index fb12b7d..591b793 100644 --- a/Source/QtDialog/CMakeSetup.cxx +++ b/Source/QtDialog/CMakeSetup.cxx @@ -79,7 +79,7 @@ int main(int argc, char** argv) doc.addCMakeStandardDocSections(); if (argc2 > 1 && doc.CheckOptions(argc2, argv2)) { // Construct and print requested documentation. - cmake hcm(cmake::RoleInternal, cmState::Unknown); + cmake hcm(cmake::RoleInternal, cmState::Help); hcm.SetHomeDirectory(""); hcm.SetHomeOutputDirectory(""); hcm.AddCMakePaths(); |