diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index bc239a552..1c60c07c5 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -2,6 +2,7 @@ find_package(Threads REQUIRED) set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) set(BUILD_MOCK ON CACHE BOOL "" FORCE) +set(INSTALL_GTEST OFF CACHE BOOL "" FORCE) set(CMAKE_POLICY_DEFAULT_CMP0048 NEW) if(YAML_USE_SYSTEM_GTEST)