Fix build and runtime dependencies

pull/16/head
Werner Sembach 2 years ago
parent 10e872adcc
commit 30ae097f19

@ -20,7 +20,7 @@ cmake_minimum_required(VERSION 3.6)
project(tuxedo-touchpad-switch)
find_package(PkgConfig REQUIRED)
pkg_check_modules(deps REQUIRED IMPORTED_TARGET gio-2.0 udev)
pkg_check_modules(deps REQUIRED IMPORTED_TARGET gio-2.0 libudev)
add_executable(tuxedo-touchpad-switch tuxedo-touchpad-switch.cpp setup-gnome.cpp setup-kde.cpp touchpad-control.cpp)
target_link_libraries(tuxedo-touchpad-switch udev PkgConfig::deps)

2
debian/control vendored

@ -2,7 +2,7 @@ Source: tuxedo-touchpad-switch
Section: misc
Priority: optional
Maintainer: Werner Sembach <tux@tuxedocomputers.com>
Build-Depends: debhelper (>= 12), libudev-dev (>= 245.4), libglib2.0-dev (>= 2.64.3)
Build-Depends: debhelper (>= 12), libudev-dev (>= 245.4), libglib2.0-dev (>= 2.64.3), cmake (>= 3.6)
Standards-Version: 4.4.1
Homepage: https://www.tuxedocomputers.com

Loading…
Cancel
Save