From ae7c841fff3359928c98c6a60bfa53e61edc3895 Mon Sep 17 00:00:00 2001 From: apio Date: Fri, 28 Apr 2023 20:02:49 +0200 Subject: [PATCH] tests: Make building tests optional, although with no option to toggle them on for now --- tests/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 53c9eee9..f9994824 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -16,6 +16,8 @@ function(luna_test SOURCE_FILE APP_NAME SETUID) endif() endfunction() +if(BUILD_TESTS) luna_test(libluna/TestVector.cpp TestVector OFF) luna_test(libluna/TestBase64.cpp TestBase64 OFF) luna_test(libluna/TestUtf8.cpp TestUtf8 OFF) +endif()