mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-04-26 11:48:52 +03:00
* more build dependencies * fix for cmake < 3.11 It cannot do ADD_LIBRARY(... ALIAS ...) on IMPORTED targets * another fix for cmake 3.10.2 It doesn't know about CMAKE_CXX_STANDARD=20, let's add the correct flag manually * gcc 8 on aarch64 utils/common/simd_arm.h:241:16: error: need ‘typename’ before ‘simd::TypeToVecWrapperType<T>::WrapperType’ because ‘simd::TypeToVecWrapperType<T>’ is a dependent scope
25 lines
530 B
CMake
25 lines
530 B
CMake
|
|
include_directories( ${ENGINE_COMMON_INCLUDES} )
|
|
|
|
########### next target ###############
|
|
|
|
set(common_LIB_SRCS
|
|
fixedallocator.cpp
|
|
poolallocator.cpp
|
|
cgroupconfigurator.cpp
|
|
MonitorProcMem.cpp
|
|
nullvaluemanip.cpp
|
|
threadnaming.cpp
|
|
utils_utf8.cpp
|
|
statistics.cpp
|
|
string_prefixes.cpp)
|
|
|
|
add_library(common SHARED ${common_LIB_SRCS})
|
|
|
|
target_link_libraries(common boost_filesystem)
|
|
|
|
add_dependencies(common loggingcpp)
|
|
|
|
install(TARGETS common DESTINATION ${ENGINE_LIBDIR} COMPONENT columnstore-engine)
|
|
|