1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/leveldb/no-install-test-deps.patch
psykose df81029b25 community/leveldb: move from main
only needed by testing/librime
2022-10-20 19:00:12 +02:00

19 lines
742 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f8285b8..bf184d1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -296,12 +296,12 @@ if(LEVELDB_BUILD_TESTS)
set(build_gmock ON)
# This project is tested using GoogleTest.
- add_subdirectory("third_party/googletest")
+ add_subdirectory("third_party/googletest" EXCLUDE_FROM_ALL)
# This project uses Google benchmark for benchmarking.
set(BENCHMARK_ENABLE_TESTING OFF CACHE BOOL "" FORCE)
set(BENCHMARK_ENABLE_EXCEPTIONS OFF CACHE BOOL "" FORCE)
- add_subdirectory("third_party/benchmark")
+ add_subdirectory("third_party/benchmark" EXCLUDE_FROM_ALL)
# GoogleTest triggers a missing field initializers warning.
if(LEVELDB_HAVE_NO_MISSING_FIELD_INITIALIZERS)