summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Spil <Sp1l@users.noreply.github.com>2018-10-27 14:34:15 +0200
committerDaniel Black <daniel@mariadb.org>2020-08-19 09:29:11 +1000
commit35aa451747375eae83e603f05936009bf75fad62 (patch)
treefa024be1d1d38b1e3debce3b8cfe81342a9d85e6
parent4c50120d1400eab236af70d36f1c683d2b30d59a (diff)
downloadmariadb-git-35aa451747375eae83e603f05936009bf75fad62.tar.gz
MDEV-11790: WITHOUT_SERVER installs server-only files-extensions
- Make `replace` utility a `Client` component based on the man-page ``` The replace program is used by msql2mysql. See msql2mysql(1). ``` msql2mysql is labeled as Client component, so should the dependency - Assign scripts to `Client` component and order list in `BIN_SCRIPTS` Based on PR 900
-rw-r--r--extra/CMakeLists.txt2
-rw-r--r--scripts/CMakeLists.txt11
2 files changed, 8 insertions, 5 deletions
diff --git a/extra/CMakeLists.txt b/extra/CMakeLists.txt
index d9c424f2803..c04cdc5237a 100644
--- a/extra/CMakeLists.txt
+++ b/extra/CMakeLists.txt
@@ -102,7 +102,7 @@ IF(WITH_INNOBASE_STORAGE_ENGINE OR WITH_XTRADB_STORAGE_ENGINE)
ADD_DEPENDENCIES(innochecksum GenError)
ENDIF()
-MYSQL_ADD_EXECUTABLE(replace replace.c COMPONENT Server)
+MYSQL_ADD_EXECUTABLE(replace replace.c COMPONENT Client)
TARGET_LINK_LIBRARIES(replace mysys)
IF(UNIX)
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
index e2fd853ce13..09301d1e403 100644
--- a/scripts/CMakeLists.txt
+++ b/scripts/CMakeLists.txt
@@ -241,7 +241,10 @@ ENDIF()
SET(mysql_config_COMPONENT COMPONENT Development)
SET(msql2mysql_COMPONENT COMPONENT Client)
SET(mysqlaccess_COMPONENT COMPONENT Client)
+SET(mysqlhotcopy_COMPONENT COMPONENT Client)
+SET(mysql_convert_table_format_COMPONENT COMPONENT Client)
SET(mysql_find_rows_COMPONENT COMPONENT Client)
+SET(mysql_setpermission_COMPONENT COMPONENT Client)
SET(mytop_COMPONENT Mytop)
IF(WIN32)
@@ -328,14 +331,14 @@ ELSE()
# On Unix, most of the files end up in the bin directory
SET(BIN_SCRIPTS
msql2mysql
- mysql_config
- mysql_setpermission
- mysql_secure_installation
mysqlaccess
+ mysqlhotcopy
+ mysql_config
mysql_convert_table_format
mysql_find_rows
+ mysql_secure_installation
+ mysql_setpermission
mytop
- mysqlhotcopy
${SERVER_SCRIPTS}
${WSREP_SCRIPTS}
${SYSTEMD_SCRIPTS}