From 69e508d6e95f4cfc721f24fc116a63b94aa51fe8 Mon Sep 17 00:00:00 2001 From: Eduardo Gonzalez Date: Mon, 13 Oct 2025 10:59:42 +0200 Subject: [PATCH] tests: Force gtest static lib Force to build gtest as static library. Fix #14 by not needing to install the shared library. Signed-off-by: Eduardo Gonzalez --- tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 0a9116d..c6aba79 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -5,6 +5,7 @@ FetchContent_Declare( GIT_TAG v1.16.0) set(INSTALL_GTEST OFF) set(BUILD_GMOCK OFF) +set(BUILD_SHARED_LIBS OFF) FetchContent_MakeAvailable(googletest) include(GoogleTest)