mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 05:58:19 +00:00
59cbc01415
Declare that we're fine with policies up to 3.19.1. This should fix policy errors and "too low cmake_minimal_version() errors" for the forseeable future.
17 lines
479 B
Plaintext
17 lines
479 B
Plaintext
cmake_minimum_required(VERSION 2.8.12...3.19.1)
|
|
|
|
project(googletest-download NONE)
|
|
|
|
include(ExternalProject)
|
|
ExternalProject_Add(googletest
|
|
GIT_REPOSITORY https://github.com/google/googletest.git
|
|
GIT_TAG "${DDNET_GTEST_VERSION}"
|
|
SOURCE_DIR "${CMAKE_BINARY_DIR}/googletest-src"
|
|
BINARY_DIR "${CMAKE_BINARY_DIR}/googletest-build"
|
|
CONFIGURE_COMMAND ""
|
|
BUILD_COMMAND ""
|
|
INSTALL_COMMAND ""
|
|
TEST_COMMAND ""
|
|
TLS_VERIFY ON
|
|
)
|