mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-04-18 21:44:02 +03:00
20 lines
488 B
CMake
20 lines
488 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})
|
|
|
|
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)
|