CMAKE_INCLUDE_DIRECTORIES_BEFORE

From Get docs
Cmake/docs/3.21/variable/cmake include directories before


CMAKE_INCLUDE_DIRECTORIES_BEFORE

Whether to append or prepend directories by default in include_directories().

This variable affects the default behavior of the include_directories() command. Setting this variable to ON is equivalent to using the BEFORE option in all uses of that command.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_INCLUDE_DIRECTORIES_BEFORE.html