CMake’s include_directories()
command does that (as does target_include_directories
which is the preferred one). However, the value must be known when CMake runs; you cannot defer expansion of the variable until build time.
CMake’s include_directories()
command does that (as does target_include_directories
which is the preferred one). However, the value must be known when CMake runs; you cannot defer expansion of the variable until build time.