diff --git a/CMakeLists.txt b/CMakeLists.txt index d617021c6772..7bfa2adf541d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,6 +46,7 @@ if(BUILD_CPP_TEST) else() set(CMAKE_CXX_STANDARD 11) endif() +set(CMAKE_CXX_STANDARD_REQUIRED ON) list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/modules") @@ -635,7 +636,7 @@ if(BUILD_CPP_TEST) FetchContent_Declare( googletest GIT_REPOSITORY https://github.com/google/googletest.git - GIT_TAG v1.13.0 + GIT_TAG v1.14.0 ) FetchContent_MakeAvailable(googletest) add_library(GTest::GTest ALIAS gtest)