Skip to content

Commit

Permalink
Disabled default build of compression libraries and glog support
Browse files Browse the repository at this point in the history
  • Loading branch information
projjal committed Jan 19, 2020
1 parent b3d1282 commit 92f2900
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions cpp/cmake_modules/DefineOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -231,25 +231,14 @@ Deprecated. Use BOOST_SOURCE=BUNDLED instead." OFF)
define_option(ARROW_WITH_BACKTRACE "Build with backtrace support" ON)

define_option(ARROW_USE_GLOG "Build libraries with glog support for pluggable logging"
ON)

define_option(ARROW_WITH_BROTLI "Build with Brotli compression" ON)
OFF)

define_option(ARROW_WITH_BROTLI "Build with Brotli compression" OFF)
define_option(ARROW_WITH_BZ2 "Build with BZ2 compression" OFF)

define_option(ARROW_WITH_LZ4 "Build with lz4 compression" ON)

define_option(ARROW_WITH_SNAPPY "Build with Snappy compression" ON)

define_option(ARROW_WITH_ZLIB "Build with zlib compression" ON)

if(CMAKE_VERSION VERSION_LESS 3.7)
set(ARROW_WITH_ZSTD_DEFAULT OFF)
else()
# ExternalProject_Add(SOURCE_SUBDIR) is available since CMake 3.7.
set(ARROW_WITH_ZSTD_DEFAULT ON)
endif()
define_option(ARROW_WITH_ZSTD "Build with zstd compression" ${ARROW_WITH_ZSTD_DEFAULT})
define_option(ARROW_WITH_LZ4 "Build with lz4 compression" OFF)
define_option(ARROW_WITH_SNAPPY "Build with Snappy compression" OFF)
define_option(ARROW_WITH_ZLIB "Build with zlib compression" OFF)
define_option(ARROW_WITH_ZSTD "Build with zstd compression" OFF)

#----------------------------------------------------------------------
if(MSVC)
Expand Down

0 comments on commit 92f2900

Please sign in to comment.