From 72581b957e7acf766fe111a3859f12b88414118f Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Sat, 17 Aug 2024 15:00:42 +0200 Subject: [PATCH] build: disable unused folly features --- cmake/folly.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/folly.cmake b/cmake/folly.cmake index 5688c3bf0..3f3e00aa5 100644 --- a/cmake/folly.cmake +++ b/cmake/folly.cmake @@ -49,6 +49,10 @@ set( "The C++ standard argument to pass to the compiler." ) +set(CMAKE_DISABLE_FIND_PACKAGE_ZLIB ON) +set(CMAKE_DISABLE_FIND_PACKAGE_BZip2 ON) +set(CMAKE_DISABLE_FIND_PACKAGE_Snappy ON) + add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/folly EXCLUDE_FROM_ALL SYSTEM) if(NOT DWARFS_FMT_LIB)