* add ubuntu 21.10 to ci remove ubuntu 20.10 * forgot to update dockerfile * add googletest from repos * update downloaded gtest ideally this should just grab the master version * fix hash * fix cmake issue
15 lines
446 B
Text
15 lines
446 B
Text
cmake_minimum_required(VERSION 3.2)
|
|
|
|
project(gtest-download LANGUAGES NONE)
|
|
|
|
include(ExternalProject)
|
|
ExternalProject_Add(googletest
|
|
URL https://github.com/google/googletest/archive/release-1.11.0.zip
|
|
URL_HASH SHA1=9ffb7b5923f4a8fcdabf2f42c6540cce299f44c0
|
|
SOURCE_DIR "${CMAKE_BINARY_DIR}/gtest-src"
|
|
BINARY_DIR "${CMAKE_BINARY_DIR}/gtest-build"
|
|
CONFIGURE_COMMAND ""
|
|
BUILD_COMMAND ""
|
|
INSTALL_COMMAND ""
|
|
TEST_COMMAND ""
|
|
)
|