CMakeLists.txt: Fix include check order for TinyDTLS

Search built include files before libcoap general include files.
This commit is contained in:
Jon Shallow authored and Jon Shallow committed 2024-11-02 10:39:38 +00:00
1 parent 0808b97009
commit 19cef11d04
1 file changed
+2 -2
+2 -2
View File
@@ -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}")