From 5e745e229528005ffdb74d381d069fd56963876b Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Wed, 30 Nov 2022 05:18:37 -0800 Subject: [PATCH] don't install gtest in the DF dir --- depends/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/depends/CMakeLists.txt b/depends/CMakeLists.txt index bf2064cb8..0238464c7 100644 --- a/depends/CMakeLists.txt +++ b/depends/CMakeLists.txt @@ -3,6 +3,8 @@ add_subdirectory(lodepng) add_subdirectory(lua) add_subdirectory(md5) add_subdirectory(protobuf) + +option(INSTALL_GTEST "Enable installation of googletest. (Projects embedding googletest may want to turn this OFF.)" OFF) add_subdirectory(googletest) if(UNIX) set_target_properties(gtest PROPERTIES COMPILE_FLAGS "-Wno-maybe-uninitialized -Wno-sign-compare")