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 c4efb56
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/db_dump/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,13 @@ target_include_directories(mosquitto_db_dump PRIVATE
"${mosquitto_SOURCE_DIR}/include"
"${mosquitto_SOURCE_DIR}/lib"
"${mosquitto_SOURCE_DIR}/src"
"${OPENSSL_INCLUDE_DIR}"
)

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 c4efb56

Please sign in to comment.