From 7ccb41c3cdb46d31597c81b7a8cccc647d7ba6aa Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 25 Oct 2024 22:10:27 +0200 Subject: [PATCH] Partial revert previous change, and add message to BUILD_TESTING --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 005e093..f7da2cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,8 +43,6 @@ else() option(USE_RPATH "Use -rpath when linking libraries, executables" ON) endif() -option(BUILD_TESTING "Build the testing tree." ON) - # In windows all created dlls are gathered in the dll directory # if you add this directory to your PATH all shared libraries are available if(BUILD_SHARED_LIBS AND (WIN32 OR CYGWIN)) @@ -204,7 +202,7 @@ endif() find_program(BASH_EXECUTABLE bash) if(BASH_EXECUTABLE) - set(BUILD_TESTING ON CACHE BOOL "") + set(BUILD_TESTING ON CACHE BOOL "Build the testing tree.") else() message(STATUS "WARNING: bash not available so disabling testing") endif()