Skip to content

Commit

Permalink
ORC-1825: [C++] Update Snappy to 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
williamhyun committed Jan 5, 2025
1 parent a7aa293 commit 99a1011
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmake_modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ set(ORC_INSTALL_INTERFACE_TARGETS)

set(ORC_FORMAT_VERSION "1.0.0")
set(LZ4_VERSION "1.9.3")
set(SNAPPY_VERSION "1.1.7")
set(SNAPPY_VERSION "1.2.1")
set(ZLIB_VERSION "1.2.11")
set(GTEST_VERSION "1.12.1")
set(PROTOBUF_VERSION "3.5.1")
Expand Down Expand Up @@ -181,7 +181,8 @@ else ()
set(SNAPPY_STATIC_LIB_NAME "${CMAKE_STATIC_LIBRARY_PREFIX}snappy${CMAKE_STATIC_LIBRARY_SUFFIX}")
set(SNAPPY_STATIC_LIB "${SNAPPY_HOME}/lib/${SNAPPY_STATIC_LIB_NAME}")
set(SNAPPY_CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${SNAPPY_HOME}
-DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_LIBDIR=lib)
-DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_LIBDIR=lib
-DSNAPPY_BUILD_BENCHMARKS=OFF)

if (BUILD_POSITION_INDEPENDENT_LIB)
set(SNAPPY_CMAKE_ARGS ${SNAPPY_CMAKE_ARGS} -DCMAKE_POSITION_INDEPENDENT_CODE=ON)
Expand Down

0 comments on commit 99a1011

Please sign in to comment.