vcpkg/ports/rocksdb/0001-disable-gtest.patch

14 lines
481 B
Diff
Raw Normal View History

diff --git a/CMakeLists.txt b/CMakeLists.txt
2020-10-21 07:12:34 +08:00
index 01eea8889..14a4b1a40 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
2020-10-21 07:12:34 +08:00
@@ -1015,7 +1015,7 @@ endif()
option(WITH_ALL_TESTS "Build all test, rather than a small subset" ON)
2020-10-13 08:13:33 +08:00
2020-10-21 07:12:34 +08:00
if(WITH_TESTS OR WITH_BENCHMARK_TOOLS)
2020-03-11 08:21:14 +08:00
- add_subdirectory(third-party/gtest-1.8.1/fused-src/gtest)
+ #add_subdirectory(third-party/gtest-1.8.1/fused-src/gtest)
2020-10-13 08:13:33 +08:00
add_library(testharness STATIC
2020-10-21 07:12:34 +08:00
test_util/mock_time_env.cc
2020-10-13 08:13:33 +08:00
test_util/testharness.cc)