From 8241d0fe1a177f7a11f6d9b5901a44a1e090986c Mon Sep 17 00:00:00 2001 From: Bruno Cabral Date: Sun, 15 Mar 2026 18:53:20 -0700 Subject: [PATCH] do not install GoogleTest --- tests/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b24747d..afdfb69 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -2,6 +2,8 @@ if(SIMPLEINI_USE_SYSTEM_GTEST) find_package(GTest REQUIRED) else() include(FetchContent) + # do not install GoogleTest + set(INSTALL_GTEST OFF CACHE BOOL "" FORCE) # Force GoogleTest to use the same runtime library as our tests (MSVC) set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) FetchContent_Declare(