Skip to content

Commit

Permalink
add NO_TLS for FastDDS builds to disable SSL linkage
Browse files Browse the repository at this point in the history
(cherry picked from commit 0c96dce)
  • Loading branch information
maloel committed May 20, 2024
1 parent 064a234 commit 1c56e66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMake/external_fastdds.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1c56e66

Please sign in to comment.