aboutsummaryrefslogtreecommitdiff
path: root/src/vdf/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/vdf/CMakeLists.txt')
-rw-r--r--src/vdf/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/vdf/CMakeLists.txt b/src/vdf/CMakeLists.txt
new file mode 100644
index 0000000..a3a4387
--- /dev/null
+++ b/src/vdf/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+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})