diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index 32c2a208c8..671dae2271 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -951,6 +951,9 @@ void cmGlobalUnixMakefileGenerator3::WriteHelpRule( if (!this->GlobalSettingIsOn("CMAKE_SUPPRESS_REGENERATION")) { lg->AppendEcho(commands, "... depend"); } + if (this->CheckCMP0171()) { + lg->AppendEcho(commands, "... codegen"); + } // Keep track of targets already listed. std::set emittedTargets;