X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=CMakeLists.txt;h=ceb472e941620558fac586eb032a6930e7f61034;hb=cfe1e75c91bc1bac82e6caab3e652b0ebee59524;hp=49aa4176fbc75b413987c1dcee3e2ad272a8e2dd;hpb=f4089654a399fbea6b8fd25844fbb43d259e0332;p=project%2Frpcd.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 49aa417..ceb472e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,6 +31,9 @@ ENDIF() FIND_PATH(ubus_include_dir libubus.h) INCLUDE_DIRECTORIES(${ubus_include_dir}) +FIND_PATH(ubox_include_dir libubox/blobmsg_json.h) +INCLUDE_DIRECTORIES(${ubox_include_dir}) + ADD_EXECUTABLE(rpcd main.c exec.c session.c uci.c plugin.c) TARGET_LINK_LIBRARIES(rpcd ubox ubus uci dl blobmsg_json ${json} ${crypt})