--- CMakeLists.txt.orig	2025-03-13 13:29:31 UTC
+++ CMakeLists.txt
@@ -120,5 +120,7 @@ install(
 )
 
 # add the testsuite
+if (BUILD_TESTING)
 enable_testing()
 add_subdirectory("test")
+endif()
