diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 7505456f..99528830 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -4,6 +4,7 @@ FetchContent_Declare( googletest GIT_REPOSITORY https://github.com/google/googletest.git GIT_TAG v1.15.2 + FIND_PACKAGE_ARGS NAMES GTest ) if(MSVC) set(gtest_force_shared_crt OFF CACHE BOOL "" FORCE)