--- CMakeLists.txt.orig	2020-11-30 20:21:39 UTC
+++ CMakeLists.txt
@@ -75,4 +75,6 @@ include(${PROJECT_SOURCE_DIR}/cmake/custom/eigen.cmake
 include(${PROJECT_SOURCE_DIR}/cmake/custom/libtaylor.cmake)
 include(${PROJECT_SOURCE_DIR}/cmake/custom/zlib.cmake)
 include(${PROJECT_SOURCE_DIR}/cmake/downloaded/autocmake_src.cmake)
-include(${PROJECT_SOURCE_DIR}/cmake/custom/test.cmake)
+if (BUILD_TESTING)
+  include(${PROJECT_SOURCE_DIR}/cmake/custom/test.cmake)
+endif()
