From 1c56e66fa118130646d6a3f542891b90404494db Mon Sep 17 00:00:00 2001 From: Eran Date: Mon, 20 May 2024 10:03:55 +0300 Subject: [PATCH] add NO_TLS for FastDDS builds to disable SSL linkage (cherry picked from commit 0c96dce510a653ea8188bbe6c34206e10715bd81) --- CMake/external_fastdds.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMake/external_fastdds.cmake b/CMake/external_fastdds.cmake index 49acaa2a93..46d415c8ea 100644 --- a/CMake/external_fastdds.cmake +++ b/CMake/external_fastdds.cmake @@ -33,6 +33,8 @@ function(get_fastdds) set(SQLITE3_SUPPORT OFF CACHE INTERNAL "" FORCE) #set(ENABLE_OLD_LOG_MACROS OFF CACHE INTERNAL "" FORCE) doesn't work set(FASTDDS_STATISTICS OFF CACHE INTERNAL "" FORCE) + # Enforce NO_TLS to disable SSL: if OpenSSL is found, it will be linked to, and we don't want it! + set(NO_TLS ON CACHE INTERNAL "" FORCE) # Set special values for FastDDS sub directory set(BUILD_SHARED_LIBS OFF)