mirror of https://github.com/cutefishos/core
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.
27 lines
498 B
CMake
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})
|