1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-318 Use OS version of Snappy

This patch strips out our old version of Snappy and uses the OS version
instead. All our supported OSes have the latest version of Snappy in
their base repositories.
This commit is contained in:
Andrew Hutchings
2017-01-17 14:52:06 +00:00
parent 37fb55c8e2
commit daffd35976
13 changed files with 53 additions and 2737 deletions

View File

@ -1,19 +1,18 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
include_directories( ${ENGINE_COMMON_INCLUDES} ${SNAPPY_INCLUDE_DIR} )
########### next target ###############
set(compress_LIB_SRCS
idbcompress.cpp
snappy.cpp
snappy-sinksource.cpp
version1.cpp
snappy-stubs-internal.cpp)
version1.cpp)
add_definitions(-DNDEBUG)
add_library(compress SHARED ${compress_LIB_SRCS})
target_link_libraries(compress ${SNAPPY_LIBRARIES})
set_target_properties(compress PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS compress DESTINATION ${ENGINE_LIBDIR} COMPONENT libs)