From a8790a41b13838b00591f8a7f1e76f105e048fd5 Mon Sep 17 00:00:00 2001 From: taynpg Date: Fri, 27 Feb 2026 10:48:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=90=AF=E7=94=A8gmock.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0567ae7..656aba3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,8 +16,8 @@ include(CMakeDependentOption) include(GNUInstallDirs) # Note that googlemock target already builds googletest. -option(BUILD_GMOCK "Builds the googlemock subproject" ON) -option(INSTALL_GTEST "Enable installation of googletest. (Projects embedding googletest may want to turn this OFF.)" ON) +option(BUILD_GMOCK "Builds the googlemock subproject" OFF) +option(INSTALL_GTEST "Enable installation of googletest. (Projects embedding googletest may want to turn this OFF.)" OFF) option(GTEST_HAS_ABSL "Use Abseil and RE2. Requires Abseil and RE2 to be separately added to the build." OFF) if(GTEST_HAS_ABSL)