Correct MQTT library addition to ZM_BIN_LIBS
parent
d111455c6a
commit
7ba5476f95
|
@ -445,7 +445,7 @@ if(NOT ZM_NO_MQTT)
|
||||||
find_package(MOSQUITTO)
|
find_package(MOSQUITTO)
|
||||||
if(MOSQUITTO_FOUND)
|
if(MOSQUITTO_FOUND)
|
||||||
include_directories(${MOSQUITTO_INCLUDE_DIRS})
|
include_directories(${MOSQUITTO_INCLUDE_DIRS})
|
||||||
list(APPEND ZM_BIN_LIBS "${MOSQUITTO_LIBRARIES}")
|
list(APPEND ZM_BIN_LIBS "${MOSQUITTO_LIBRARY}")
|
||||||
set(optlibsfound "${optlibsfound} Mosquitto")
|
set(optlibsfound "${optlibsfound} Mosquitto")
|
||||||
else()
|
else()
|
||||||
set(optlibsnotfound "${optlibsnotfound} Mosquitto")
|
set(optlibsnotfound "${optlibsnotfound} Mosquitto")
|
||||||
|
@ -454,7 +454,7 @@ if(NOT ZM_NO_MQTT)
|
||||||
find_package(MOSQUITTOPP)
|
find_package(MOSQUITTOPP)
|
||||||
if(MOSQUITTOPP_FOUND)
|
if(MOSQUITTOPP_FOUND)
|
||||||
include_directories(${MOSQUITTOPP_INCLUDE_DIRS})
|
include_directories(${MOSQUITTOPP_INCLUDE_DIRS})
|
||||||
list(APPEND ZM_BIN_LIBS "${MOSQUITTOPP_LIBRARIES}")
|
list(APPEND ZM_BIN_LIBS "${MOSQUITTOPP_LIBRARY}")
|
||||||
set(optlibsfound "${optlibsfound} Mosquittopp")
|
set(optlibsfound "${optlibsfound} Mosquittopp")
|
||||||
else()
|
else()
|
||||||
set(optlibsnotfound "${optlibsnotfound} Mosquittopp")
|
set(optlibsnotfound "${optlibsnotfound} Mosquittopp")
|
||||||
|
|
Loading…
Reference in New Issue