Skip to content

Commit

Permalink
CMakeLists.txt: Fix include check order for TinyDTLS
Browse files Browse the repository at this point in the history
Search built include files before libcoap general include files.
  • Loading branch information
mrdeep1 committed Nov 2, 2024
1 parent 0808b97 commit 19cef11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

Expand Down

0 comments on commit 19cef11

Please sign in to comment.