diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,8 +58,9 @@ ${CMAKE_CURRENT_BINARY_DIR}/src) add_subdirectory(src) -add_subdirectory(autotests) - +if (BUILD_TESTING) + add_subdirectory(autotests) +endif() # # Config.cmake stuff