Set the test timeout in CTest instead of using `timeout' directly.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e9c10c6..11b211d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -31,6 +31,7 @@
 set(FRUIT_VERSION "1.0.2")
 
 enable_testing()
+set(CTEST_TEST_TIMEOUT 20 CACHE STRING "Maximum test time, before CTest will kill the test." FORCE)
 
 add_subdirectory(src)