You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
344 B

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)