Presumably the LibDataChannel::LibDataChannel is expected to provide the rtc/rtc.hpp header? Does its definition provide an INTERFACE_INCLUDE_DIRECTORIES property with a suitable value? You can ask CMake to “find” it by configuring with the --trace-expand flag and searching the output for the target name.