Correct MQTT library addition to ZM_BIN_LIBS
parent
d111455c6a
commit
7ba5476f95
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue