3 @@ -62,10 +62,11 @@ ELSE()
4 MESSAGE(FATAL_ERROR "Invalid TLS provider option, use none|openssl|cyassl")
7 +FIND_LIBRARY(json json-c json)
9 ADD_DEFINITIONS(-DHAVE_UBUS)
10 ADD_LIBRARY(uhttpd_ubus MODULE uhttpd-ubus.c)
11 - TARGET_LINK_LIBRARIES(uhttpd_ubus ubox ubus json blobmsg_json)
12 + TARGET_LINK_LIBRARIES(uhttpd_ubus ubox ubus ${json} blobmsg_json)
13 SET(PLUGINS ${PLUGINS} uhttpd_ubus)