Skip to content

Order SYSTEM include directories after non-system directories

ephisino requested to merge ephisino/cmake:reorder-sys-includes into master

An effect of the -isystem flag is to search the directory after those specified via -I flags. On compilers that do not have an -isystem flag, move the -I flags for system include directories to after those for non-system include directories. This makes the order more consistent across compilers.

Edited by Brad King

Merge request reports