diff --git a/CMakeLists.txt b/CMakeLists.txt
index aa1f831433ce9723030c2fb3cd14d95b242d4826..43f0710c94288d7f635280759ad17c4a8c970373 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,6 +6,8 @@ set(CMAKE_SKIP_RPATH TRUE)
 
 set(CMAKE_VERBOSE_MAKEFILE TRUE)
 
+enable_testing()
+
 if (!CMAKE_CXX_COMPILER)
     message(FATAL_ERROR "No C++ compiler found")
 endif()