From 19cef11d043ba2f06b13238571edfec455070b19 Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Fri, 1 Nov 2024 15:24:09 +0000 Subject: [PATCH] CMakeLists.txt: Fix include check order for TinyDTLS Search built include files before libcoap general include files. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e1ac775bb..9c9e3434bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -498,8 +498,8 @@ function(compile_tinydtls) IMPORTED) set_target_properties( tinydtls - PROPERTIES INTERFACE_INCLUDE_DIRECTORIES - "${CMAKE_CURRENT_BINARY_DIR}/include" + PROPERTIES "${CMAKE_CURRENT_BINARY_DIR}/include" + INTERFACE_INCLUDE_DIRECTORIES IMPORTED_LINK_INTERFACE_LANGUAGES "C" IMPORTED_LOCATION "${LIBTINYDTLS_PATH}")