Skip to content

Commit

Permalink
use patch instead
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkeane committed Dec 7, 2021
1 parent e33f7d5 commit b141103
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/cmake_modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1025,9 +1025,9 @@ macro(build_snappy)
"${SNAPPY_PREFIX}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}${SNAPPY_STATIC_LIB_NAME}${CMAKE_STATIC_LIBRARY_SUFFIX}"
)


# This can be removed when https://github.com/google/snappy/pull/148 is released
set(SNAPPY_PATCH_COMMAND
"git" "--git-dir=." "apply" "--verbose" "--whitespace=fix" "${CMAKE_SOURCE_DIR}/build-support/snappy-UBSAN.patch"
"patch" "snappy.cc" "${CMAKE_SOURCE_DIR}/build-support/snappy-UBSAN.patch"
)

set(SNAPPY_CMAKE_ARGS
Expand Down

0 comments on commit b141103

Please sign in to comment.