diff options
| author | Koby Kahane <kobykahane@gmail.com> | 2020-10-13 03:13:33 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-12 17:13:33 -0700 |
| commit | 248169d8eea9bdcfe9b56f4f0dfaaedae0aaa760 (patch) | |
| tree | 3ce44da5e8bdebac2e121f94db2ef4dd49719906 /ports/rocksdb/0001-disable-gtest.patch | |
| parent | 6ce7f41d8e20cbf9c176d132ab78c68fd360ed39 (diff) | |
| download | vcpkg-248169d8eea9bdcfe9b56f4f0dfaaedae0aaa760.tar.gz vcpkg-248169d8eea9bdcfe9b56f4f0dfaaedae0aaa760.zip | |
[rocksdb] update to v6.11.4 (#13643)
Diffstat (limited to 'ports/rocksdb/0001-disable-gtest.patch')
| -rw-r--r-- | ports/rocksdb/0001-disable-gtest.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ports/rocksdb/0001-disable-gtest.patch b/ports/rocksdb/0001-disable-gtest.patch index b3aa2d629..b17a8b963 100644 --- a/ports/rocksdb/0001-disable-gtest.patch +++ b/ports/rocksdb/0001-disable-gtest.patch @@ -1,13 +1,13 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index eebda35e9..c00e6b702 100644 +index f9c8f3346..248c0d2d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -888,7 +888,7 @@ option(WITH_TESTS "build with tests" ON) - # For test libraries, utilities, and exes that are build iff WITH_TESTS=ON and - # in Debug mode. Add test only code that is not #ifdefed for Release here. - if(WITH_TESTS AND CMAKE_BUILD_TYPE STREQUAL "Debug") +@@ -975,7 +975,7 @@ if(NOT WIN32 OR ROCKSDB_INSTALL_ON_WINDOWS) + endif() + + if(WITH_TESTS) - add_subdirectory(third-party/gtest-1.8.1/fused-src/gtest) + #add_subdirectory(third-party/gtest-1.8.1/fused-src/gtest) - set(TESTS - cache/cache_test.cc - cache/lru_cache_test.cc + add_library(testharness STATIC + test_util/testharness.cc) + target_link_libraries(testharness gtest) |
