build(linux): enable cpack auto dependencies (#4323)
This commit is contained in:
parent
f52891d6fc
commit
ed7b78f138
2 changed files with 4 additions and 2 deletions
|
|
@ -93,8 +93,9 @@ if(NOT BOOST_USE_STATIC)
|
||||||
boost-program-options >= ${Boost_VERSION}")
|
boost-program-options >= ${Boost_VERSION}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# This should automatically figure out dependencies, doesn't work with the current config
|
# This should automatically figure out dependencies on packages
|
||||||
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS OFF)
|
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
|
||||||
|
set(CPACK_RPM_PACKAGE_AUTOREQ ON)
|
||||||
|
|
||||||
# application icon
|
# application icon
|
||||||
if(NOT ${SUNSHINE_BUILD_FLATPAK})
|
if(NOT ${SUNSHINE_BUILD_FLATPAK})
|
||||||
|
|
|
||||||
|
|
@ -221,6 +221,7 @@ function add_debian_based_deps() {
|
||||||
"cmake"
|
"cmake"
|
||||||
"desktop-file-utils"
|
"desktop-file-utils"
|
||||||
"doxygen"
|
"doxygen"
|
||||||
|
"file"
|
||||||
"flex" # required if we need to compile doxygen
|
"flex" # required if we need to compile doxygen
|
||||||
"gcc-${gcc_version}"
|
"gcc-${gcc_version}"
|
||||||
"g++-${gcc_version}"
|
"g++-${gcc_version}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue