Files
packages/utils/auc/src/CMakeLists.txt
T
Daniel Golle 95d96a360f auc: add new package
The Attended sysUpgrade CLI is a full-featured client for the
attended-sysupgrade service which works directly on the target device.
It requires libustream-ssl as well as at least the CA certificate
needed to contact the sysupgrade server.

It has only been tested briefly and is by no means ready for
production!

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-12 23:33:15 +01:00

13 lines
344 B
CMake

cmake_minimum_required(VERSION 2.6)
PROJECT(auc C)
ADD_DEFINITIONS(-Os -ggdb -Wall --std=gnu99 -Wmissing-declarations)
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
find_library(json NAMES json-c json)
ADD_EXECUTABLE(auc auc.c)
TARGET_LINK_LIBRARIES(auc uci ubox ubus uclient blobmsg_json ${json})
INSTALL(TARGETS auc RUNTIME DESTINATION sbin)