Skip to content

PCH: Fix Makefile dependencies to rebuild PCH on header changes

Brad King requested to merge brad.king/cmake:pch-makefile-depends into master

Teach the Makefile generator to scan the implicit dependencies of PCH creation. When a header named by target_precompile_headers changes the corresponding PCH must be rebuilt and all consumers recompiled.

Fixes: #19830 (closed)

Merge request reports