[LEDE-DEV] [PATCH mdns] cmake: Search for libjson-c

Florian Fainelli f.fainelli at gmail.com
Tue Dec 13 14:23:53 PST 2016


Since we use libblobmsg_json which uses libjson-c internally, make sure
we find this library.

Signed-off-by: Florian Fainelli <f.fainelli at gmail.com>
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f191fa5c1716..4052bcdb80ad 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.10.2




More information about the Lede-dev mailing list