Skip to content

Commit

Permalink
build: disable unused folly features
Browse files Browse the repository at this point in the history
  • Loading branch information
mhx committed Aug 17, 2024
1 parent 751fcc9 commit 72581b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/folly.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 72581b9

Please sign in to comment.