Skip to content

Commit

Permalink
try a workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime committed Feb 21, 2024
1 parent 311a4f3 commit 38b8600
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions third_party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ find_package(GTest QUIET CONFIG)
if(NOT ${GTEST_FOUND})
message(STATUS "Using bundled GoogleTest library.")
add_subdirectory(googletest)
FetchContent_SetPopulated(
GTest
SOURCE_DIR googletest
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/googletest
)
endif()

add_subdirectory(protobuf-matchers)
Expand Down

0 comments on commit 38b8600

Please sign in to comment.