Skip to content

Commit

Permalink
fix the installation layout
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvova committed Sep 13, 2016
1 parent a4ce80d commit b9d6bea
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cmake/install.cmake
Expand Up @@ -64,7 +64,7 @@ SET(BIN_INSTALL_DIR_DEFAULT "bin")
SET(LIB_INSTALL_DIR_DEFAULT "lib")
SET(INCLUDE_INSTALL_DIR_DEFAULT "include")
SET(DOCS_INSTALL_DIR_DEFAULT "docs")
SET(PLUGIN_INSTALL_DIR_DEFAULT "lib/plugin")
SET(PLUGIN_INSTALL_DIR_DEFAULT "lib/mariadb/plugin")

#
# RPM layout
Expand All @@ -73,15 +73,14 @@ SET(SUFFIX_INSTALL_DIR_RPM "mariadb")
SET(BIN_INSTALL_DIR_RPM "bin")
IF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
SET(LIB_INSTALL_DIR_RPM "lib64")
SET(PLUGIN_INSTALL_DIRDIR_RPM "lib64/plugin")
SET(PLUGIN_INSTALL_DIR_RPM "lib64/plugin")
ELSE()
SET(LIB_INSTALL_DIR_RPM "lib")
SET(PLUGIN_INSTALL_DIRDIR_RPM "lib/plugin")
SET(PLUGIN_INSTALL_DIR_RPM "lib/mariadb/plugin")
ENDIF()

SET(INCLUDE_INSTALL_DIR_RPM "include")
SET(DOCS_INSTALL_DIR_RPM "docs")
SET(PLUGIN_INSTALL_DIR_RPM "lib/plugin")

#
# Overwrite defaults
Expand Down

0 comments on commit b9d6bea

Please sign in to comment.