IF (BUILD_EXAMPLES)
ADD_EXECUTABLE(server server.c count.c)
- TARGET_LINK_LIBRARIES(server ubus ubox blobmsg_json)
+ TARGET_LINK_LIBRARIES(server ubus ${ubox_library} ${blob_library} ${json})
ADD_EXECUTABLE(client client.c count.c)
- TARGET_LINK_LIBRARIES(client ubus ubox)
+ TARGET_LINK_LIBRARIES(client ubus ${ubox_library})
ENDIF()