mirror of
https://github.com/reactos/CMake.git
synced 2024-12-03 00:57:25 +00:00
93ac2a78d5
CMake used to put all header search paths into HEADER_SEARCH_PATHS attribute. Unfortunately this attribute does not support to declare a search path as a system include. As a hack one could add a -isystem /path to the cflags but then include ordering is not deterministic. A better approach was chosen with this patch by not filling HEADER_SEARCH_PATHS at all and to populate the C, C++, and Fortran flags directly. The include paths used by Xcode should be now identical to the ones used by Unix Makefiles and Ninja generator. |
||
---|---|---|
.. | ||
CMP0021 | ||
StandardIncludeDirectories | ||
SystemIncludeDirectories | ||
TargetIncludeDirectories | ||
CMakeLists.txt | ||
empty.cpp | ||
main.cpp |