From c1cf1a97c5c3904fe1a1c26f64a3d2846b594fd6 Mon Sep 17 00:00:00 2001 From: Alban Le Moult Date: Sat, 17 Apr 2021 15:31:29 +0200 Subject: [PATCH] CMakeLists.txt: Fix interface export when DTLS is off Prevents TinyDTLS includes from being passed into the interface variable when ENABLE_DTLS is OFF but USE_VENDORED_TINYDTLS is ON. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 284d10f8..7518acf7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -469,7 +469,7 @@ target_include_directories( $ $ $ - $<$:${CMAKE_BINARY_DIR}/include/tinydtls> + $<$,$>:${CMAKE_BINARY_DIR}/include/tinydtls> $<$:${GNUTLS_INCLUDE_DIR}> $<$:${MBEDTLS_INCLUDE_DIRS}>) target_link_libraries(