summaryrefslogtreecommitdiffstats
path: root/test/CMakeLists.txt
blob: 7539c191d9286280ff4c3d98004eb4aa2df16370 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# --- 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 ${BIN_INSTALL_DIR})