From 3c3bce133dda14a60d15eaa03edff527a53c01d4 Mon Sep 17 00:00:00 2001 From: Juan Ramos Date: Thu, 20 Oct 2022 19:53:14 -0600 Subject: cmake: Honor CMAKE_GENERATOR env var in --help output --- Source/cmake.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/cmake.cxx') diff --git a/Source/cmake.cxx b/Source/cmake.cxx index c4c638c67d..8cdecc61e6 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(); } -- cgit v1.2.1