From 8411b26835bc52d01fefeebe891b34cef31c0e24 Mon Sep 17 00:00:00 2001 From: Elaine Gibson Date: Sun, 5 Jul 2026 14:25:41 +0100 Subject: [PATCH] Use system GTest if available --- tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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)