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)