--- CMakeLists.txt.orig 2022-01-04 19:58:58 UTC +++ CMakeLists.txt @@ -126,5 +126,7 @@ install( ) # add the testsuite +if (BUILD_TESTING) enable_testing() add_subdirectory("test") +endif()