Add missing WITH_CJSON option.

This commit is contained in:
Roger A. Light 2021-01-28 13:34:29 +00:00
parent 53b7cc5fc1
commit bbe0afbfbe

View File

@ -99,6 +99,7 @@ if (WITH_DLT)
add_definitions("-DWITH_DLT") add_definitions("-DWITH_DLT")
endif (WITH_DLT) endif (WITH_DLT)
option(WITH_CJSON "Build with cJSON support (required for dynamic security plugin and useful for mosquitto_sub)?" ON)
if (WITH_CJSON) if (WITH_CJSON)
FIND_PACKAGE(cJSON) FIND_PACKAGE(cJSON)
if (CJSON_FOUND) if (CJSON_FOUND)