From be8ae8d0b5f2e8651edf0cc8f35916fc4b71d1ac Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 13 Dec 2016 14:23:53 -0800 Subject: [PATCH] cmake: Search for libjson-c Since we use libblobmsg_json which uses libjson-c internally, make sure we find this library. Signed-off-by: Florian Fainelli --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f191fa5..4052bcd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") SET(SOURCES main.c dns.c announce.c cache.c service.c util.c ubus.c interface.c) -SET(LIBS ubox ubus resolv blobmsg_json) +SET(LIBS ubox ubus resolv blobmsg_json json-c) IF(DEBUG) ADD_DEFINITIONS(-DDEBUG -g3) -- 2.25.1