1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-06-10 17:41:44 +03:00
Leonid Fedorov aa7e0fb9b4
Deep build refactoring phase 1 (#3562)
* configcpp refactored
* logging and datatypes refactored

* more dataconvert
* chore(build): massive removals, auto add files to debian install file
* chore(codemanagement): nodeps headers, potentioal library
* chore(build): configure before autobake
* chore(build): use custom cmake commands for components, mariadb-plugin-columnstore.install generated
* chore(build): install deps as separate step for build-packages
* more deps
* check  debian/mariadb-plugin-columnstore.install automatically
* chore(build): add option for multibracnh compilation
* Fix warning
2025-05-30 14:05:21 +04:00

21 lines
592 B
CMake

include_directories(${ENGINE_COMMON_INCLUDES} ${SNAPPY_INCLUDE_DIR})
# hack for lz4 duplicate header
get_property(
dirs
DIRECTORY
PROPERTY INCLUDE_DIRECTORIES
)
list(REMOVE_ITEM dirs ${CMAKE_SOURCE_DIR}/include/providers)
set_property(DIRECTORY PROPERTY INCLUDE_DIRECTORIES "${dirs}")
set(compress_LIB_SRCS idbcompress.cpp)
columnstore_library(compress ${compress_LIB_SRCS})
columnstore_link(compress PRIVATE loggingcpp boost_filesystem ${SNAPPY_LIBRARIES})
if(HAVE_LZ4)
message_once(STATUS "LINK WITH LZ4")
columnstore_link(compress PRIVATE ${LZ4_LIBRARIES})
endif()