Skip to content

Commit

Permalink
Make zlib1g as Debian dependency if USE_SYSTEM_ZLIB is opted
Browse files Browse the repository at this point in the history
  • Loading branch information
runlevel5 committed Mar 27, 2024
1 parent cb00823 commit 73edfe9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ IF(CONFIG_LINUX_PACKAGING_SUPPORT)

set(CPACK_DEBIAN_PACKAGE_DEPENDS "libvulkan1")

IF(USE_SYSTEM_ZLIB)
set(CPACK_DEBIAN_PACKAGE_DEPENES "zlib1g")
ENDIF()

set(CPACK_DEB_PACKAGE_COMPONENT ON)
set(CPACK_DEB_COMPONENT_INSTALL ON)
set(CPACK_DEBIAN_ENABLE_COMPONENT_DEPENDS ON)
Expand Down

0 comments on commit 73edfe9

Please sign in to comment.