summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2020-03-08 11:02:55 +0200
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2020-03-08 11:02:55 +0200
commit1d99e4d674467d612ddce5f8436de0625356a8df (patch)
treef30c7595b29a079eb1b667ff51c78f066194f56d /cmake
parent440452628d95476674922c6c097825509a002d8d (diff)
parentd7f74150e5ab3c25c6ae9638bf21787c86c0f656 (diff)
downloadmariadb-git-1d99e4d674467d612ddce5f8436de0625356a8df.tar.gz
Merge branch '10.2' into 10.3
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