aboutsummaryrefslogtreecommitdiff
path: root/ports/rocksdb/0001-disable-gtest.patch
diff options
context:
space:
mode:
authorKoby Kahane <kobykahane@gmail.com>2020-03-11 02:21:14 +0200
committerGitHub <noreply@github.com>2020-03-10 17:21:14 -0700
commita181bed0cf4f0c4bdae6ce852bedd5c9872cffc9 (patch)
treeeb70a8e30d1c522583061f1b2d6bd1852c08b0f1 /ports/rocksdb/0001-disable-gtest.patch
parent980331d7a608bfbf70fd74b4a5f12885542342bd (diff)
downloadvcpkg-a181bed0cf4f0c4bdae6ce852bedd5c9872cffc9.tar.gz
vcpkg-a181bed0cf4f0c4bdae6ce852bedd5c9872cffc9.zip
[rocksdb] Update to v6.6.4 (#10123)
Diffstat (limited to 'ports/rocksdb/0001-disable-gtest.patch')
-rw-r--r--ports/rocksdb/0001-disable-gtest.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/ports/rocksdb/0001-disable-gtest.patch b/ports/rocksdb/0001-disable-gtest.patch
index 82fe3ff62..b3aa2d629 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 5b7d37359..9ab8954b6 100644
+index eebda35e9..c00e6b702 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -445,7 +445,7 @@ include_directories(${PROJECT_SOURCE_DIR}/include)
- include_directories(SYSTEM ${PROJECT_SOURCE_DIR}/third-party/gtest-1.7.0/fused-src)
- find_package(Threads REQUIRED)
-
--add_subdirectory(third-party/gtest-1.7.0/fused-src/gtest)
-+#add_subdirectory(third-party/gtest-1.7.0/fused-src/gtest)
-
- # Main library source code
-
+@@ -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")
+- 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