diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index 06a0d740..37f1488d 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -12,7 +12,8 @@ add_subdirectory(fmt) find_package(GTest QUIET) if(NOT ${GTEST_FOUND}) message(STATUS "Using bundled GoogleTest library.") - add_subdirectory(googletest) + #add_subdirectory(googletest) + find_package(GTest REQUIRED PATHS gogoogletest) endif() add_subdirectory(protobuf-matchers)