From: Florian Fainelli Date: Tue, 13 Dec 2016 22:23:53 +0000 (-0800) Subject: cmake: Search for libjson-c X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=be8ae8d0b5f2e8651edf0cc8f35916fc4b71d1ac;p=oweals%2Fmdnsd.git 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 --- 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)