mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 04:53:44 +02:00
try to force 32-bit package for centos7 i386
This commit is contained in:
parent
f96a9f63ea
commit
c2664033bc
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,9 @@ set(CPACK_RPM_PACKAGE_REQUIRES "systemd, iproute, libstdc++")
|
|||
set(CPACK_RPM_PACKAGE_REQUIRES_PRE "/usr/sbin/useradd, /usr/bin/getent")
|
||||
set(CPACK_RPM_PACKAGE_OBSOLETES "zerotier-one")
|
||||
set(CPACK_PACKAGE_RELOCATABLE FALSE)
|
||||
if(BUILD_32BIT)
|
||||
set(CPACK_RPM_PACKAGE_ARCHITECTURE "i386")
|
||||
endif()
|
||||
|
||||
set(CPACK_RPM_PRE_INSTALL_SCRIPT_FILE "${CMAKE_CURRENT_SOURCE_DIR}/packaging/rpm/rpm.pre")
|
||||
set(CPACK_RPM_POST_INSTALL_SCRIPT_FILE "${CMAKE_CURRENT_SOURCE_DIR}/packaging/rpm/rpm.post")
|
||||
|
|
Loading…
Add table
Reference in a new issue