aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 06ab448..43d15df 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -178,6 +178,10 @@ IF(COMPILE_OFFLINE_TESTS)
#run with 'make test' or 'ctest'
include (CTest)
add_test (runs test_offline)
+
+ add_executable(test_minimal unittest/test_minimal.c)
+ target_link_libraries(test_minimal ${EXTRA_LIBS} nitrokey)
+ add_test(minimal test_minimal)
ENDIF()
IF (COMPILE_TESTS)