build(linux): enable cpack auto dependencies (#4323)

This commit is contained in:
PVermeer
2025-10-09 16:19:48 +02:00
committed by GitHub
parent f52891d6fc
commit ed7b78f138
2 changed files with 4 additions and 2 deletions

View File

@ -93,8 +93,9 @@ if(NOT BOOST_USE_STATIC)
boost-program-options >= ${Boost_VERSION}")
endif()
# This should automatically figure out dependencies, doesn't work with the current config
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS OFF)
# This should automatically figure out dependencies on packages
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
set(CPACK_RPM_PACKAGE_AUTOREQ ON)
# application icon
if(NOT ${SUNSHINE_BUILD_FLATPAK})

View File

@ -221,6 +221,7 @@ function add_debian_based_deps() {
"cmake"
"desktop-file-utils"
"doxygen"
"file"
"flex" # required if we need to compile doxygen
"gcc-${gcc_version}"
"g++-${gcc_version}"