X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=CMakeLists.txt;h=2492e13d59ada2fac6dd616b2d5d7fce447c6124;hp=cb2f42035d61bbeee99b221470f2a045b2e13a56;hb=8309c75828acbcee73b11d9ce90d76b7ef14b891;hpb=6d24ad71f6fdb5345970fcfa7450cd5a50790d18 diff --git a/CMakeLists.txt b/CMakeLists.txt index cb2f420..2492e13 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,11 +19,11 @@ IF(APPLE) LINK_DIRECTORIES(/opt/local/lib) ENDIF() -ADD_LIBRARY(ubus SHARED libubus.c libubus-io.c libubus-obj.c libubus-sub.c libubus-req.c) +ADD_LIBRARY(ubus SHARED libubus.c libubus-io.c libubus-obj.c libubus-sub.c libubus-req.c libubus-acl.c) TARGET_LINK_LIBRARIES(ubus ubox) -ADD_EXECUTABLE(ubusd ubusd.c ubusd_id.c ubusd_obj.c ubusd_proto.c ubusd_event.c) -TARGET_LINK_LIBRARIES(ubusd ubox) +ADD_EXECUTABLE(ubusd ubusd.c ubusd_id.c ubusd_obj.c ubusd_proto.c ubusd_event.c ubusd_acl.c) +TARGET_LINK_LIBRARIES(ubusd ubox blobmsg_json ${json}) find_library(json NAMES json-c json) ADD_EXECUTABLE(cli cli.c)