mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-04-26 11:48:52 +03:00
Some changes made to 10.6-enterprise make a build using the out-of-band method of compiling columnstore not work. Out-of band means the source for the engine is not in the storage subdir of server, but rather in a stand alone directory. This is used by developers for easier develop work. In the case of out-of-band, INSTALL_LAYOUT is false in CMakeLists.txt
19 lines
545 B
CMake
19 lines
545 B
CMake
include_directories(BEFORE
|
|
${LIBMARIADB_BININC_DIR}
|
|
${LIBMARIADB_SRCINC_DIR})
|
|
add_definitions(-DMYSQL_SERVICE_THD_TIMEZONE_INCLUDED)
|
|
|
|
include_directories( ${ENGINE_COMMON_INCLUDES} )
|
|
|
|
########### next target ###############
|
|
|
|
set(libmysql_client_LIB_SRCS libmysql_client.cpp)
|
|
|
|
add_library(libmysql_client SHARED ${libmysql_client_LIB_SRCS})
|
|
target_link_libraries(libmysql_client ${MARIADB_CLIENT_LIBS})
|
|
|
|
add_dependencies(libmysql_client loggingcpp)
|
|
|
|
install(TARGETS libmysql_client DESTINATION ${ENGINE_LIBDIR} COMPONENT columnstore-engine)
|
|
|