From 3d3aa2625584cd269d903432f9a859b29d8c8e33 Mon Sep 17 00:00:00 2001 From: Marcel Hellwig Date: Mon, 13 May 2024 12:05:22 +0200 Subject: [PATCH] chore: update gtest default version to 1.14.0 this prevents compiler errors on newer compilers --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7bbd891..d3b1068 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,7 +26,7 @@ if (SDBUSCPP_BUILD_TESTS) option(SDBUSCPP_BUILD_PERF_TESTS "Build also sdbus-c++ performance tests" OFF) option(SDBUSCPP_BUILD_STRESS_TESTS "Build also sdbus-c++ stress tests" OFF) set(SDBUSCPP_TESTS_INSTALL_PATH "tests/${PROJECT_NAME}" CACHE STRING "Specifies where the test binaries will be installed") - set(SDBUSCPP_GOOGLETEST_VERSION 1.10.0 CACHE STRING "Version of gmock library to use") + set(SDBUSCPP_GOOGLETEST_VERSION 1.14.0 CACHE STRING "Version of gmock library to use") set(SDBUSCPP_GOOGLETEST_GIT_REPO "https://github.com/google/googletest.git" CACHE STRING "A git repo to clone and build googletest from if gmock is not found in the system") endif() option(SDBUSCPP_BUILD_CODEGEN "Build generator tool for C++ native bindings" OFF)