1 diff --git a/bridgepp/CMakeLists.txt b/bridgepp/CMakeLists.txt
2 index f4a0a553..02d631dc 100644
3 --- a/bridgepp/CMakeLists.txt
4 +++ b/bridgepp/CMakeLists.txt
5 @@ -172,16 +172,8 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
6 cmake_policy(SET CMP0135 NEW) # avoid warning DOWNLOAD_EXTRACT_TIMESTAMP
10 -FetchContent_Declare(
12 - URL https://github.com/google/googletest/archive/b796f7d44681514f58a683a3a71ff17c94edb0c1.zip
15 -# For Windows: Prevent overriding the parent project's compiler/linker settings
16 -set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
18 -FetchContent_MakeAvailable(googletest)
19 +# Use find_package to use the gtest package provided by Nix
20 +find_package(GTest REQUIRED)