diff --git a/CMakeLists.txt b/CMakeLists.txt index d4725f8..400c727 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -231,7 +231,11 @@ endif() # packaging 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(GNUInstallDirs)