You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-video/subtitlecomposer/files/subtitlecomposer-0.7.1-test...

28 lines
762 B

From 6e25dd4670f0d14bdc8aff050bdacb050e0327ff Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Wed, 6 Oct 2021 20:30:03 +0200
Subject: [PATCH] Make tests optional
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
src/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1cb7098..97d60a3 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -124,7 +124,9 @@ else()
message(STATUS "ICU Library not found. KEncodingProber fallback will be used for charset detection.")
endif()
+if(BUILD_TESTING)
add_subdirectory(tests)
+endif()
add_subdirectory(scripting)
add_executable(subtitlecomposer WIN32 main.cpp ${subtitlecomposer_RES_SRC})
--
2.33.0