Skip to content

PCH: Copy the timestamp from an absolute header file

Cristian Adam requested to merge cristianadam/cmake:pch-file-time into master

If target_precompile_headers contains a file from the project, then CMake will set the timestamp for cmake_pch.h|xx from that file.

This helps with ccache and precompile headers.

Fixes: #19923 (closed)
Backport: release

Edited by Brad King

Merge request reports