You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
526 B
15 lines
526 B
2 years ago
|
cmake_minimum_required(VERSION 3.1.0)
|
||
|
|
||
|
project(googletest-download NONE)
|
||
|
|
||
|
include(ExternalProject)
|
||
|
ExternalProject_Add(googletest
|
||
|
# URL ${CMAKE_SOURCE_DIR}/thirdparty/gtest/googletest-release-1.8.0.zip
|
||
|
URL https://github.com/google/googletest/archive/release-1.12.1.zip
|
||
|
SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/googletest-src"
|
||
|
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/googletest-build"
|
||
|
CONFIGURE_COMMAND ""
|
||
|
BUILD_COMMAND ""
|
||
|
INSTALL_COMMAND ""
|
||
|
TEST_COMMAND ""
|
||
|
)
|