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.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vdf/CMakeLists.txt b/src/vdf/CMakeLists.txt
index a3a4387..bb1412d 100644
--- a/src/vdf/CMakeLists.txt
+++ b/src/vdf/CMakeLists.txt
@@ -1,6 +1,6 @@
list(APPEND
- VDF_SOURCES
+ VDF_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/vdf.h
${CMAKE_CURRENT_SOURCE_DIR}/vdf.c
)
@@ -9,3 +9,7 @@ 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()