You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-09-02 12:41:17 +03:00
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.
20 lines
447 B
CMake
20 lines
447 B
CMake
|
|
include_directories( ${ENGINE_COMMON_INCLUDES} ${SNAPPY_INCLUDE_DIR} )
|
|
|
|
########### next target ###############
|
|
|
|
set(compress_LIB_SRCS
|
|
idbcompress.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)
|
|
|