blob: b0214d4ad927823b48aac209dce93ca9cbbee9aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# --- Build test executable -------------------------------------------------
include(CheckIncludeFile)
check_include_file("sys/time.h" HAVE_SYS_TIME_H)
if (NOT HAVE_SYS_TIME_H)
message(FATAL_ERROR "sys/time.h not found")
endif()
include_directories(
${CMAKE_SOURCE_DIR}/src
)
add_executable(ipedec ipedec.c timer.c)
target_link_libraries(ipedec ufodecode)
install(TARGETS ipedec DESTINATION ${LIBUFODECODE_BINDIR})
|