Skip to content

Commit

Permalink
Merge pull request #164 from rouault/fix_pr_163
Browse files Browse the repository at this point in the history
Partial revert previous change, and add message to BUILD_TESTING
  • Loading branch information
rouault authored Oct 26, 2024
2 parents 2657b18 + 7ccb41c commit 4ae3a7b
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 4ae3a7b

Please sign in to comment.