summaryrefslogtreecommitdiff
path: root/cmake/install_layout.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/install_layout.cmake')
-rwxr-xr-xcmake/install_layout.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/install_layout.cmake b/cmake/install_layout.cmake
index 79eec502995..296bebd3bb0 100755
--- a/cmake/install_layout.cmake
+++ b/cmake/install_layout.cmake
@@ -113,7 +113,7 @@ SET(INSTALL_MYSQLDATADIR_STANDALONE "data")
#
SET(INSTALL_BINDIR_RPM "bin")
SET(INSTALL_INCLUDEDIR_RPM "include/mysql")
-IF(64BIT)
+IF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
SET(INSTALL_LIBDIR_RPM "lib64")
ELSE()
SET(INSTALL_LIBDIR_RPM "lib")