Skip to content

cmGlobalGenerator: FindMakeProgram() at a generator-specific time

Kyle Edwards requested to merge kyle.edwards/cmake:fix-find-make-program into master

!4898 (merged) moved FindMakeProgram() to an earlier time, which resulted in CMAKE_MAKE_PROGRAM not being read from the toolchain file. Change it to only call FindMakeProgram() early in the specific cases of Visual Studio and Xcode, and restore the old behavior for all other generators.

Fixes: #21486 (closed)
Backport: release

Edited by Brad King

Merge request reports