#include errors detected

I use the target_link_libraries, but the vscode IDE show the error.
Do you know what is the reason?


add_executable(iam ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp)
target_link_libraries(iam PRIVATE LibDataChannel::LibDataChannel)


#include <rtc/rtc.hpp>

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.