From 38ddd741cb494a3a0ede4f68de8527c544492230 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Wed, 16 Dec 2020 13:53:47 -0700 Subject: [PATCH] Ensure that gtest packaging/install is disabled --- third_party/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index 24fdc6a5e88..b4f3a36b6b3 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -11,7 +11,8 @@ if (NOT MSVC) add_compile_options(-Wno-pedantic -Wno-unused-parameter) endif() -set(INSTALL_GTEST OFF) +set(INSTALL_GTEST CACHE BOOL OFF) +mark_as_advanced(INSTALL_GTEST) set(RE2_BUILD_TESTING OFF