diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index 1409d018..fb340296 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -13,12 +13,12 @@ find_package(GTest QUIET) if(NOT ${GTEST_FOUND}) message(STATUS "Retrieving external GoogleTest library.") include(FetchContent) - FetchContent_Declare( + fetchcontent_declare( GTest GIT_REPOSITORY https://github.com/google/googletest.git GIT_TAG v1.14.0 OVERRIDE_FIND_PACKAGE) - FetchContent_MakeAvailable(GTest) + fetchcontent_makeavailable(GTest) endif() set(PREVIOUS_BUILD_TESTING ${BUILD_TESTING})