summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-03-11 14:28:24 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2020-03-11 14:28:24 +0100
commitb7362d5fbc37dec340aeacd1fb0967c4226c022a (patch)
treea11789da64e27f66ea9bd83e365f3038c58d9cd8 /cmake
parentb8c0e4967098fa40094229775e3560fa9052005e (diff)
parent3c9bc0ce19c260401b4dd4c33273487829b29df5 (diff)
downloadmariadb-git-b7362d5fbc37dec340aeacd1fb0967c4226c022a.tar.gz
Merge branch '10.3' into 10.4
Diffstat (limited to 'cmake')
-rw-r--r--cmake/install_layout.cmake10
1 files changed, 3 insertions, 7 deletions
diff --git a/cmake/install_layout.cmake b/cmake/install_layout.cmake
index 49dceccb9d2..2779e07e9dd 100644
--- a/cmake/install_layout.cmake
+++ b/cmake/install_layout.cmake
@@ -174,7 +174,7 @@ SET(INSTALL_SCRIPTDIR_DEB "bin")
SET(INSTALL_SYSCONFDIR_DEB "/etc")
SET(INSTALL_SYSCONF2DIR_DEB "/etc/mysql/conf.d")
#
-SET(INSTALL_LIBDIR_DEB "lib")
+SET(INSTALL_LIBDIR_DEB "lib/${CMAKE_CXX_LIBRARY_ARCHITECTURE}")
SET(INSTALL_PLUGINDIR_DEB "lib/mysql/plugin")
#
SET(INSTALL_INCLUDEDIR_DEB "include/mariadb")
@@ -186,7 +186,7 @@ SET(INSTALL_INFODIR_DEB "share/info")
#
SET(INSTALL_SHAREDIR_DEB "share")
SET(INSTALL_MYSQLSHAREDIR_DEB "share/mysql")
-SET(INSTALL_MYSQLTESTDIR_DEB "mysql-test")
+SET(INSTALL_MYSQLTESTDIR_DEB "share/mysql/mysql-test")
SET(INSTALL_SQLBENCHDIR_DEB ".")
SET(INSTALL_SUPPORTFILESDIR_DEB "share/mysql")
#
@@ -196,11 +196,7 @@ SET(INSTALL_UNIX_ADDRDIR_DEB "/var/run/mysqld/mysqld.sock")
SET(INSTALL_SYSTEMD_UNITDIR_DEB "/lib/systemd/system")
SET(INSTALL_SYSTEMD_SYSUSERSDIR_DEB "/usr/lib/sysusers.d")
SET(INSTALL_SYSTEMD_TMPFILESDIR_DEB "/usr/lib/tmpfiles.d")
-IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
- SET(INSTALL_PAMDIR_DEB "/lib/x86_64-linux-gnu/security")
-ELSE()
- SET(INSTALL_PAMDIR_DEB "/lib/i386-linux-gnu/security")
-ENDIF()
+SET(INSTALL_PAMDIR_DEB "/lib/${CMAKE_CXX_LIBRARY_ARCHITECTURE}/security")
#
# SVR4 layout