Fix openssl not being linked to dynamic security plugin.

Closes #2277. Thanks to LeSuisse.
This commit is contained in:
Roger Light 2021-08-21 09:44:31 +01:00
parent 035291c595
commit c01ae67af7
2 changed files with 2 additions and 1 deletions

View File

@ -54,6 +54,7 @@ Broker:
reconnecting. Closes #2173.
- Fix QoS 0 messages not being queued when `queue_qos0_messages` was enabled.
Closes #2224.
- Fix openssl not being linked to dynamic security plugin. Closes #2277.
Clients:
- If sending mosquitto_sub output to a pipe, mosquitto_sub will now detect

View File

@ -32,7 +32,7 @@ if (CJSON_FOUND AND WITH_TLS)
)
set_target_properties(mosquitto_dynamic_security PROPERTIES PREFIX "")
target_link_libraries(mosquitto_dynamic_security ${CJSON_LIBRARIES})
target_link_libraries(mosquitto_dynamic_security ${CJSON_LIBRARIES} ${OPENSSL_LIBRARIES})
if(WIN32)
target_link_libraries(mosquitto_dynamic_security mosquitto)
endif(WIN32)