X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=CMakeLists.txt;h=b791c7ca1a8335377c9d88004f9d49a8f97c3e8c;hp=10b792b49063cede1e2424346a629d6722e98cc4;hb=a93b044d6a5a4bed51d776cb0950e7d20fb17b84;hpb=4ae1159f62958a386865ec2213f5f84b7220e4d8 diff --git a/CMakeLists.txt b/CMakeLists.txt index 10b792b..b791c7c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,10 +16,10 @@ TARGET_LINK_LIBRARIES(ubusd ubox) ADD_EXECUTABLE(cli cli.c) SET_TARGET_PROPERTIES(cli PROPERTIES OUTPUT_NAME ubus) -TARGET_LINK_LIBRARIES(cli ubus ubox json) +TARGET_LINK_LIBRARIES(cli ubus ubox blobmsg_json json) -ADD_EXECUTABLE(listener listener.c) -TARGET_LINK_LIBRARIES(listener ubus ubox) +ADD_EXECUTABLE(ubus-example ubus-example.c) +TARGET_LINK_LIBRARIES(ubus-example ubus ubox) SET(CMAKE_INSTALL_PREFIX /usr)