projects
/
project
/
mdnsd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fa9077
)
cmake: Search for libjson-c
author
Florian Fainelli
<f.fainelli@gmail.com>
Tue, 13 Dec 2016 22:23:53 +0000
(14:23 -0800)
committer
John Crispin
<john@phrozen.org>
Mon, 19 Dec 2016 07:56:42 +0000
(08:56 +0100)
Since we use libblobmsg_json which uses libjson-c internally, make sure
we find this library.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index f191fa5c17161c3ff98e72b1b922cd0f6cd43417..4052bcdb80ad30576e2285937cc465e43d458406 100644
(file)
--- 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)