libubus: restore uloop_cancelled on timeout
[project/ubus.git] / examples / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 ADD_DEFINITIONS(-I..)
4 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..)
5
6 IF (BUILD_EXAMPLES)
7         ADD_EXECUTABLE(server server.c count.c)
8         TARGET_LINK_LIBRARIES(server ubus ubox blobmsg_json)
9
10         ADD_EXECUTABLE(client client.c count.c)
11         TARGET_LINK_LIBRARIES(client ubus ubox)
12 ENDIF()