Skip to content

Commit

Permalink
Remove base qt dependencies from package
Browse files Browse the repository at this point in the history
  • Loading branch information
pktiuk committed Nov 17, 2024
1 parent 07c044b commit e1904ee
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,12 @@ endif()

# Building .deb package
if(CPACK_GENERATOR STREQUAL "DEB")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "qtbase5-dev (>= ${QT_REQUIRED_VERSION}), libsdl2-2.0-0 (>= ${SDL_REQUIRED_VERSION}), libc6")
if(QT_VERSION EQUAL 5)
# TODO use regular, not dev packages
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libsdl2-2.0-0 (>= ${SDL_REQUIRED_VERSION}), libc6")
else()
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libsdl2-2.0-0 (>= ${SDL_REQUIRED_VERSION}), libc6")
endif()
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "pktiuk <kotiuk@zohomail.eu>")
set(CPACK_DEBIAN_PACKAGE_DESCRIPTION "AntiMicroX is a graphical program used to map gamepad buttons to keyboard, mouse, scripts and macros.
Expand Down

0 comments on commit e1904ee

Please sign in to comment.