mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 08:14:47 -07:00
* Bump minimum_required to 3.5 and GoogleTest to 1.12 GoogleTest 1.12 is the oldest version that sets cmake_minimum_required() to 3.5 in the CMakeLists files it provides * code style changes * Use 1.17.0 * Set minimum to 3.10 to make top-level CMakeLists * New hash Co-authored-by: tooomm <tooomm@users.noreply.github.com> * Update cmake/gtest-CMakeLists.txt.in Co-authored-by: tooomm <tooomm@users.noreply.github.com> --------- Co-authored-by: tooomm <tooomm@users.noreply.github.com> Co-authored-by: ebbit1q <ebbit1q@gmail.com>
16 lines
442 B
Text
16 lines
442 B
Text
cmake_minimum_required(VERSION 3.10)
|
|
|
|
project(gtest-download LANGUAGES NONE)
|
|
|
|
include(ExternalProject)
|
|
externalproject_add(
|
|
googletest
|
|
URL https://github.com/google/googletest/archive/refs/tags/v1.17.0.zip
|
|
URL_HASH SHA1=f638fa0e724760e2ba07ff8cfba32cd644e1ce28
|
|
SOURCE_DIR "${CMAKE_BINARY_DIR}/gtest-src"
|
|
BINARY_DIR "${CMAKE_BINARY_DIR}/gtest-build"
|
|
CONFIGURE_COMMAND ""
|
|
BUILD_COMMAND ""
|
|
INSTALL_COMMAND ""
|
|
TEST_COMMAND ""
|
|
)
|