You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
core/chotkeys/CMakeLists.txt

27 lines
498 B
CMake

find_package(Qt5 COMPONENTS Core Widgets DBus X11Extras REQUIRED)
find_package(XCB MODULE REQUIRED COMPONENTS XCB KEYSYMS)
find_package(X11)
set(PROJECT_SOURCES
main.cpp
application.cpp
hotkeys.cpp
)
add_executable(chotkeys
${PROJECT_SOURCES}
)
target_link_libraries(chotkeys
PRIVATE
Qt5::Core
Qt5::Widgets
Qt5::DBus
Qt5::X11Extras
${XCB_LIBS}
${X11_LIBRARIES}
XCB::KEYSYMS
)
install(TARGETS chotkeys RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})