You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-07 20:42:15 +03:00
This patch: * Moves config files from /usr/local/mariadb/columnstore/etc to ENGINE_SYSCONFDIR/columnstore (ENGINE_SYSCONFDIR is /etc by default) * Sets a define called MCSSYSCONFDIR whic contains the ENGINE_SYSCONFDIR compile time setting * Modifies scripts and code to use the new paths * Removes a whole bunch of files we don't use
18 lines
551 B
CMake
18 lines
551 B
CMake
|
|
include_directories( ${ENGINE_COMMON_INCLUDES} )
|
|
|
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/configxml.sh.in" "${CMAKE_CURRENT_SOURCE_DIR}/configxml.sh" @ONLY)
|
|
|
|
########### next target ###############
|
|
|
|
set(setConfig_SRCS main.cpp)
|
|
|
|
add_executable(setConfig ${setConfig_SRCS})
|
|
|
|
target_link_libraries(setConfig ${ENGINE_LDFLAGS} ${NETSNMP_LIBRARIES} ${MARIADB_CLIENT_LIBS} ${ENGINE_EXEC_LIBS})
|
|
|
|
install(TARGETS setConfig DESTINATION ${ENGINE_BINDIR} COMPONENT platform)
|
|
|
|
install(PROGRAMS configxml.sh DESTINATION ${ENGINE_BINDIR} COMPONENT platform)
|
|
|