You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lxqt-panel-packaging/plugin-kbindicator/CMakeLists.txt

56 lines
859 B

set(PLUGIN "kbindicator")
set(HEADERS
src/kbdstate.h
src/settings.h
src/content.h
src/kbdlayout.h
src/kbdinfo.h
src/kbdkeeper.h
src/kbdwatcher.h
src/controls.h
src/kbdstateconfig.h
)
set(SOURCES
kbindicator-plugin.cpp
src/kbdstate.cpp
src/settings.cpp
src/content.cpp
src/kbdkeeper.cpp
src/kbdwatcher.cpp
src/kbdstateconfig.cpp
)
set(UIS
src/kbdstateconfig.ui
)
set(LIBRARIES
)
find_package(XCB REQUIRED COMPONENTS xkbcommon-x11 xkbcommon xcb xcb-xkb)
find_package(Qt5 REQUIRED COMPONENTS X11Extras Xml)
include_directories(${XCB_INCLUDE_DIRS})
set(HEADERS
${HEADERS}
src/x11/kbdlayout.h
)
set(SOURCES
${SOURCES}
src/x11/kbdlayout.cpp
)
set(LIBRARIES
${LIBRARIES}
${XCB_LIBRARIES}
Qt5::Xml
)
add_definitions(-DX11_ENABLED)
BUILD_LXQT_PLUGIN(${PLUGIN})