You've already forked mariadb-columnstore-engine
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user