diff --git a/CMakeLists.txt b/CMakeLists.txt index b8e882ee..5a9fcff4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -551,6 +551,9 @@ if(ENABLE_EXAMPLES) PUBLIC ${PROJECT_NAME}::${COAP_LIBRARY_NAME}) add_executable(coap-rd ${CMAKE_CURRENT_LIST_DIR}/examples/coap-rd.c) + target_include_directories(coap-rd + PRIVATE + $) target_link_libraries(coap-rd PUBLIC ${PROJECT_NAME}::${COAP_LIBRARY_NAME}) add_executable(coap-server ${CMAKE_CURRENT_LIST_DIR}/examples/coap-server.c)