From 13753f766112e0d7d479a37e022a8c28f61ad3cd Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Fri, 23 Mar 2018 10:28:22 +0000 Subject: [PATCH] Fix building mosquitto_passwd on Windows. --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 64316cda..557de388 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -168,7 +168,7 @@ install(FILES mosquitto_broker.h mosquitto_plugin.h DESTINATION "${INCLUDEDIR}") if (${WITH_TLS} STREQUAL ON) add_executable(mosquitto_passwd mosquitto_passwd.c) - target_link_libraries(mosquitto_passwd "${OPENSSL_LIBRARIES}") + target_link_libraries(mosquitto_passwd ${OPENSSL_LIBRARIES}) install(TARGETS mosquitto_passwd RUNTIME DESTINATION "${BINDIR}" LIBRARY DESTINATION "${LIBDIR}") endif (${WITH_TLS} STREQUAL ON)