Try to fix cross-compile packaging

This commit is contained in:
2024-03-05 11:06:14 -08:00
parent 16aa52c071
commit 1811342cb6
+5 -1
View File
@@ -231,7 +231,11 @@ endif()
# packaging # packaging
set(CPACK_PACKAGE_CONTACT andrew@weaselab.dev) set(CPACK_PACKAGE_CONTACT andrew@weaselab.dev)
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
# rpm
set(CPACK_RPM_PACKAGE_ARCHITECTURE ${CMAKE_SYSTEM_PROCESSOR})
set(CPACK_RPM_SPEC_INSTALL_POST "/bin/true") # avoid stripping
include(CPack) include(CPack)
include(GNUInstallDirs) include(GNUInstallDirs)