upgraded: register stage2 process in uloop as intended
[project/procd.git] / upgraded / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 PROJECT(upgraded C)
4 FIND_PATH(ubox_include_dir libubox/uloop.h)
5 INCLUDE_DIRECTORIES(${ubox_include_dir})
6 ADD_DEFINITIONS(-Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations)
7 ADD_EXECUTABLE(upgraded upgraded.c ../watchdog.c)
8 TARGET_LINK_LIBRARIES(upgraded ubox)
9 INSTALL(TARGETS upgraded
10         RUNTIME DESTINATION sbin
11 )