projects
/
project
/
rpcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90e8e9c
)
Link json-c
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 1 Sep 2013 20:12:19 +0000
(22:12 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 1 Sep 2013 20:22:42 +0000
(22:22 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 8ac46437f4a1bc23c0d53287c06ea4195340fb11..e9f158659b8a405f00643eab73324dc03c23947d 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-11,7
+11,10
@@
IF(APPLE)
ENDIF()
ADD_EXECUTABLE(luci-rpcd main.c exec.c session.c file.c uci.c iwinfo.c luci2.c plugin.c)
-TARGET_LINK_LIBRARIES(luci-rpcd ubox ubus uci iwinfo blobmsg_json)
+
+FIND_LIBRARY(json NAMES json-c json)
+
+TARGET_LINK_LIBRARIES(luci-rpcd ubox ubus uci iwinfo blobmsg_json ${json})
SET(CMAKE_INSTALL_PREFIX /usr)