From 7ba5476f9546cd92ca91ec34049b3c4b6d530547 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 21 Oct 2024 17:37:43 -0400 Subject: [PATCH] Correct MQTT library addition to ZM_BIN_LIBS --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 907a0afa0..4d0cf4bef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -445,7 +445,7 @@ if(NOT ZM_NO_MQTT) find_package(MOSQUITTO) if(MOSQUITTO_FOUND) include_directories(${MOSQUITTO_INCLUDE_DIRS}) - list(APPEND ZM_BIN_LIBS "${MOSQUITTO_LIBRARIES}") + list(APPEND ZM_BIN_LIBS "${MOSQUITTO_LIBRARY}") set(optlibsfound "${optlibsfound} Mosquitto") else() set(optlibsnotfound "${optlibsnotfound} Mosquitto") @@ -454,7 +454,7 @@ if(NOT ZM_NO_MQTT) find_package(MOSQUITTOPP) if(MOSQUITTOPP_FOUND) include_directories(${MOSQUITTOPP_INCLUDE_DIRS}) - list(APPEND ZM_BIN_LIBS "${MOSQUITTOPP_LIBRARIES}") + list(APPEND ZM_BIN_LIBS "${MOSQUITTOPP_LIBRARY}") set(optlibsfound "${optlibsfound} Mosquittopp") else() set(optlibsnotfound "${optlibsnotfound} Mosquittopp")