Skip to content

Commit

Permalink
Add missing WITH_CJSON option.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Jan 28, 2021
1 parent 53b7cc5 commit bbe0afb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ if (WITH_DLT)
add_definitions("-DWITH_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)
FIND_PACKAGE(cJSON)
if (CJSON_FOUND)
Expand Down

0 comments on commit bbe0afb

Please sign in to comment.