Skip to content

Commit 0c96dce

Browse files
committed
add NO_TLS for FastDDS builds to disable SSL linkage
1 parent 53b5d60 commit 0c96dce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMake/external_fastdds.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ function(get_fastdds)
3333
set(SQLITE3_SUPPORT OFF CACHE INTERNAL "" FORCE)
3434
#set(ENABLE_OLD_LOG_MACROS OFF CACHE INTERNAL "" FORCE) doesn't work
3535
set(FASTDDS_STATISTICS OFF CACHE INTERNAL "" FORCE)
36+
# Enforce NO_TLS to disable SSL: if OpenSSL is found, it will be linked to, and we don't want it!
37+
set(NO_TLS ON CACHE INTERNAL "" FORCE)
3638

3739
# Set special values for FastDDS sub directory
3840
set(BUILD_SHARED_LIBS OFF)

0 commit comments

Comments
 (0)