Skip to content

Commit

Permalink
Autodetect dependencies for RPM & DEB
Browse files Browse the repository at this point in the history
  • Loading branch information
layus committed Sep 6, 2018
1 parent 687f3bb commit f952665
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Expand Up @@ -140,12 +140,14 @@ string(REGEX REPLACE "-(alpha|beta|rc)\\." "~\\1"
CPACK_DEBIAN_PACKAGE_VERSION "${MOZART_PROP_OZ_VERSION}")
set(CPACK_DEBIAN_PACKAGE_SECTION "devel")
set(CPACK_DEBIAN_PACKAGE_PRIORITY "optional")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "tk8.6, emacsen-common")
set (CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
set(CPACK_DEBIAN_PACKAGE_DEPENDS "emacsen-common")

# Configuration of the RPM generator

set(CPACK_RPM_PACKAGE_ARCHITECTURE "${MOZART_PROP_PLATFORM_ARCH}")
set(CPACK_RPM_PACKAGE_REQUIRES "tk >= 8.6, emacs")
set(CPACK_RPM_PACKAGE_AUTOREQ yes)
set(CPACK_RPM_PACKAGE_REQUIRES "emacs")
set(CPACK_RPM_PACKAGE_GROUP "Development/Languages")

# Configuration of the Source generator
Expand Down

0 comments on commit f952665

Please sign in to comment.