Skip to content
  • Brad King's avatar
    macOS: Fix addition of <sdk>/usr/include to default implicit include dirs · 017598a4
    Brad King authored
    In commit 1293ed85 (ParseImplicitIncludeInfo: keep implicit incl.
    consistent when rerunning cmake, 2019-01-30, v3.14.0-rc1~26^2) the
    `Platform/UnixPaths` module was updated to add `/usr/include` to
    `CMAKE_{C,CXX,CUDA}_IMPLICIT_INCLUDE_DIRECTORIES` through an
    initialization variable used by `CMakeDetermineCompilerABI` instead of
    directly.  This approach makes it only a default that can be overridden
    by detection of the implicit include directories really used by the
    compiler.
    
    The addition of `<sdk>/usr/include` to default implicit include
    directories by the `Platform/Darwin` module needs the same update but
    was accidentally left out of the original commit.
    017598a4