Skip to content

Commit

Permalink
Partial revert previous change, and add message to BUILD_TESTING
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Oct 25, 2024
1 parent 15665fa commit 7ccb41c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 7ccb41c

Please sign in to comment.