projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf90523
)
prefer to link against libjson-c over libjson (the new library name in git versions...
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 11 Feb 2013 21:10:03 +0000
(22:10 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 11 Feb 2013 21:10:03 +0000
(22:10 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 74cb080582a1c496c50b0b96677a634313875f8b..2076fc93eb4a8e5b7219b3a3224c1eb6be00281f 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-18,8
+18,9
@@
SET(SOURCES
ubus.c)
+find_library(json NAMES json-c json)
SET(LIBS
- ubox ubus uci
json
blobmsg_json)
+ ubox ubus uci
${json}
blobmsg_json)
IF (NOT DEFINED LIBNL_LIBS)
SET(LIBNL_LIBS -lnl)