Use uppercase standardized names for MOSQUITTO and MOSTQUITTOPP

This commit is contained in:
Isaac Connor
2022-08-26 09:37:37 -04:00
parent 97e19b78bd
commit 7ab61ddce2
3 changed files with 2 additions and 2 deletions

View File

@@ -440,7 +440,7 @@ if(NOT ZM_NO_PRCE)
endif()
if(NOT ZM_NO_MQTT)
find_package(Mosquitto)
find_package(MOSQUITTO)
if(MOSQUITTO_FOUND)
include_directories(${MOSQUITTO_INCLUDE_DIRS})
list(APPEND ZM_BIN_LIBS "${MOSQUITTO_LIBRARIES}")
@@ -449,7 +449,7 @@ if(NOT ZM_NO_MQTT)
set(optlibsnotfound "${optlibsnotfound} Mosquitto")
endif (MOSQUITTO_FOUND)
find_package(Mosquittopp)
find_package(MOSQUITTOPP)
if(MOSQUITTOPP_FOUND)
include_directories(${MOSQUITTOPP_INCLUDE_DIRS})
list(APPEND ZM_BIN_LIBS "${MOSQUITTOPP_LIBRARIES}")