1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Don't install files w/o the target.

This commit is contained in:
Roman Nozdrin
2020-07-10 18:42:24 +00:00
parent 7e868bc588
commit cfc61fb5df

View File

@ -55,17 +55,19 @@ else ()
add_custom_target(columnstore DEPENDS ha_columnstore)
endif ()
install(FILES syscatalog_mysql.sql
dumpcat_mysql.sql
calsetuserpriority.sql
calremoveuserpriority.sql
calshowprocesslist.sql
columnstore_info.sql
DESTINATION ${ENGINE_SUPPORTDIR} COMPONENT columnstore-engine)
install(PROGRAMS install_mcs_mysql.sh
DESTINATION ${ENGINE_SBINDIR} COMPONENT columnstore-engine)
if (TARGET columnstore)
install(FILES syscatalog_mysql.sql
dumpcat_mysql.sql
calsetuserpriority.sql
calremoveuserpriority.sql
calshowprocesslist.sql
columnstore_info.sql
DESTINATION ${ENGINE_SUPPORTDIR} COMPONENT columnstore-engine)
install(PROGRAMS install_mcs_mysql.sh
DESTINATION ${ENGINE_SBINDIR} COMPONENT columnstore-engine)
install(FILES columnstore.cnf
DESTINATION ${MARIADB_MYCNFDIR} COMPONENT columnstore-engine)
install(FILES x-columnstore.cnf
DESTINATION ${MARIADB_MYCNFDIR} COMPONENT columnstore-engine)
install(FILES columnstore.cnf
DESTINATION ${MARIADB_MYCNFDIR} COMPONENT columnstore-engine)
install(FILES x-columnstore.cnf
DESTINATION ${MARIADB_MYCNFDIR} COMPONENT columnstore-engine)
endif()