CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE

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


CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE

Whether to force prepending of project include directories.

This variable affects the order of include directories generated in compiler command lines. If set to ON, it causes the CMAKE_SOURCE_DIR and the CMAKE_BINARY_DIR to appear first.

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