5b6331280fa0080aa427b5d24cc1a85fab3e9612
[project/ucert.git] / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 PROJECT(ucert C)
4 ADD_DEFINITIONS(-Os -ggdb -Wall --std=gnu99 -Wmissing-declarations)
5
6 SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
7
8 find_library(json NAMES json-c json)
9
10 ADD_EXECUTABLE(ucert ucert.c)
11 TARGET_LINK_LIBRARIES(ucert ubox blobmsg_json ${json})
12 INSTALL(TARGETS ucert RUNTIME DESTINATION bin)