Skip to content

Commit

Permalink
test/googletest/CMakeLists.txt.in: update to 1.12.1 (like in GDAL)
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Jan 14, 2024
1 parent b5aba60 commit b42c79f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions test/googletest/CMakeLists.txt.in
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# Source https://github.com/google/googletest/blob/master/googletest/README.md
cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.9)

project(googletest-download NONE)

# Cf https://cmake.org/cmake/help/latest/policy/CMP0135.html
if(POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
endif()

include(ExternalProject)
ExternalProject_Add(googletest
URL https://github.com/google/googletest/archive/release-1.11.0.zip
URL_HASH SHA1=9ffb7b5923f4a8fcdabf2f42c6540cce299f44c0
URL https://github.com/google/googletest/archive/release-1.12.1.zip
URL_HASH SHA1=973e464e8936d4b79bb24f27b058aaef4150b06e
DOWNLOAD_NO_PROGRESS ON
SOURCE_DIR "${PROJ_BINARY_DIR}/googletest-src"
BINARY_DIR "${PROJ_BINARY_DIR}/googletest-build"
Expand Down

0 comments on commit b42c79f

Please sign in to comment.