aboutsummaryrefslogtreecommitdiff
path: root/src/vdf/CMakeLists.txt
blob: bb1412d90312e76d70d776b0d4e92fa7f784d587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
list(APPEND
    VDF_SOURCES
    ${CMAKE_CURRENT_SOURCE_DIR}/vdf.h
    ${CMAKE_CURRENT_SOURCE_DIR}/vdf.c
)

add_library(vdf STATIC ${VDF_SOURCES})
target_compile_options(vdf PUBLIC ${CFLAGS})

target_include_directories(vdf PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

if (ENABLE_TESTS)
    add_subdirectory(tests)
endif()