From 5db4cae25064cd7900bc86c0498cbc156c1b3363 Mon Sep 17 00:00:00 2001 From: Maksim Danilov Date: Sun, 7 Apr 2024 11:52:33 +0200 Subject: [PATCH] Update gtest to v.1.14 --- .gitmodules | 4 ++-- CMakeLists.txt | 4 +++- extern/googletest | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitmodules b/.gitmodules index 0b06e0b..5dee083 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ [submodule "extern/googletest"] path = extern/googletest - url = ../../google/googletest.git - branch = release-1.10.0 + url = git@github.com:google/googletest.git + branch = main diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f8d45b..bb870d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,12 @@ -cmake_minimum_required(VERSION 3.10) +cmake_minimum_required(VERSION 3.13) + project(CrackingCoding) list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) set(CMAKE_CXX_STANDARD 11) enable_testing() + include(CTest) include(GoogleTest) include(PackageAddTest) diff --git a/extern/googletest b/extern/googletest index cb44c86..f10e11f 160000 --- a/extern/googletest +++ b/extern/googletest @@ -1 +1 @@ -Subproject commit cb44c86c1aaf31b26797728e93acc950c01dbd5b +Subproject commit f10e11fb27301fba21caa71030bb5024e67aa135