|
|
@ -20,7 +20,7 @@ cmake_minimum_required(VERSION 3.6)
|
|
|
|
project(tuxedo-touchpad-switch)
|
|
|
|
project(tuxedo-touchpad-switch)
|
|
|
|
|
|
|
|
|
|
|
|
find_package(PkgConfig REQUIRED)
|
|
|
|
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)
|
|
|
|
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)
|
|
|
|
target_link_libraries(tuxedo-touchpad-switch udev PkgConfig::deps)
|
|
|
|