I'm using cmake and external project module via ExternalProject_Add
.
I'd like to specify custom header location for external project (just exactly as if I use include_directories
in that project, but I am not able to modify its CMakeLists.txt
and don't want to apply patch).
Is there any possibility to pass some include path to my external project?
I tried CMAKE_ARGS -DCMAKE_INCLUDE_PATH=<required path>
without success.