mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
Ninja: Add dependencies on system-provided header files (#14914)
When system-provided packages are upgraded we must re-compile sources depending on their headers. Use `-MD` instead of `-MMD` so that the generated depfiles do not exclude system headers. Suggested-by: Jussi Judin
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
ninja-depfile-system-headers
|
||||
----------------------------
|
||||
|
||||
* The :generator:`Ninja` generator now includes system header files in build
|
||||
dependencies to ensure correct re-builds when system packages are updated.
|
||||
Reference in New Issue
Block a user