You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
21 lines
526 B
CMake
21 lines
526 B
CMake
|
|
include_directories( ${ENGINE_COMMON_INCLUDES} ${SNAPPY_INCLUDE_DIR} )
|
|
|
|
########### next target ###############
|
|
|
|
set(compress_LIB_SRCS
|
|
idbcompress.cpp)
|
|
|
|
add_definitions(-DNDEBUG)
|
|
|
|
add_library(compress SHARED ${compress_LIB_SRCS})
|
|
add_dependencies(compress loggingcpp)
|
|
|
|
target_link_libraries(compress ${SNAPPY_LIBRARIES})
|
|
IF(HAVE_LZ4)
|
|
MESSAGE_ONCE(STATUS "LINK WITH LZ4")
|
|
target_link_libraries(compress ${LZ4_LIBRARIES})
|
|
ENDIF()
|
|
|
|
install(TARGETS compress DESTINATION ${ENGINE_LIBDIR} COMPONENT columnstore-engine)
|