summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-10-24 16:35:25 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-10-24 16:35:33 (GMT)
commitc2ec949a05d0b4515abb17211ba7eefc1910591d (patch)
tree2e915366d0133d486691cf421c484c2eaea52c2c /Source/cmake.cxx
parenta693ca6e4a4349898361ede9949c1eb973b6b349 (diff)
parent3c3bce133dda14a60d15eaa03edff527a53c01d4 (diff)
downloadCMake-c2ec949a05d0b4515abb17211ba7eefc1910591d.zip
CMake-c2ec949a05d0b4515abb17211ba7eefc1910591d.tar.gz
CMake-c2ec949a05d0b4515abb17211ba7eefc1910591d.tar.bz2
Merge topic 'set_environment_generator'
3c3bce133d cmake: Honor CMAKE_GENERATOR env var in --help output Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !7808
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 8798f02..73b8e88 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -196,7 +196,7 @@ cmake::cmake(Role role, cmState::Mode mode, cmState::ProjectKind projectKind)
this->AddProjectCommands();
}
- if (mode == cmState::Project) {
+ if (mode == cmState::Project || mode == cmState::Help) {
this->LoadEnvironmentPresets();
}