Back to Cmake

CMAKE_INCLUDE_PATH

Help/variable/CMAKE_INCLUDE_PATH.rst

4.3.2475 B
Original Source

CMAKE_INCLUDE_PATH

:ref:Semicolon-separated list <CMake Language Lists> of directories specifying a search path for the :command:find_file and :command:find_path commands. By default it is empty, it is intended to be set by the project.

There is also an environment variable :envvar:CMAKE_INCLUDE_PATH, which is used as an additional list of search directories.

See also :variable:CMAKE_SYSTEM_INCLUDE_PATH and :variable:CMAKE_PREFIX_PATH.