mirror of
https://github.com/mariadb-corporation/mariadb-connector-c
synced 2026-08-14 22:29:06 -04:00
Use CMAKE_SIZEOF_VOID_P EQUAL 8 for 64-bit detection (#318)
Use CMAKE_SIZEOF_VOID_P EQUAL 8 for 64‑bit detection instead of maintaining an architecture list. This is cleaner and more maintainable.
This commit is contained in:
parent
24f4faf6be
commit
a4a04c521b
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ SET(LIBMARIADB_STATIC_DEFAULT "mariadbclient")
|
|||
# RPM layout
|
||||
#
|
||||
SET(INSTALL_BINDIR_RPM "bin")
|
||||
IF((CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64" OR CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64" OR CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64le" OR CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64" OR CMAKE_SYSTEM_PROCESSOR MATCHES "s390x" OR CMAKE_SYSTEM_PROCESSOR MATCHES "riscv64") AND CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
SET(INSTALL_LIBDIR_RPM "lib64/mariadb")
|
||||
SET(INSTALL_PCDIR_RPM "lib64/pkgconfig")
|
||||
SET(INSTALL_PLUGINDIR_RPM "lib64/mariadb/plugin")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue