Skip to content

Commit

Permalink
db dump requires openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Nov 19, 2023
1 parent 4174b12 commit 3ccc847
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/db_dump/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ target_include_directories(mosquitto_db_dump PRIVATE
"${mosquitto_SOURCE_DIR}/src"
)

if(WITH_TLS)
target_link_libraries(mosquitto_db_dump PRIVATE config-header OpenSSL:SSL)
endif()

install(TARGETS mosquitto_db_dump
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
)

0 comments on commit 3ccc847

Please sign in to comment.