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-tray/CMakeLists.txt

42 lines
677 B

set(PLUGIN "tray")
include(FindPkgConfig)
include(CheckLibraryExists)
find_package(X11 REQUIRED)
pkg_check_modules(XCOMPOSITE REQUIRED xcomposite)
pkg_check_modules(XDAMAGE REQUIRED xdamage)
pkg_check_modules(XRENDER REQUIRED xrender)
set(HEADERS
lxqttrayplugin.h
lxqttray.h
trayicon.h
xfitman.h
)
set(SOURCES
lxqttrayplugin.cpp
lxqttray.cpp
trayicon.cpp
xfitman.cpp
)
set(MOCS
lxqttrayplugin.h
lxqttray.h
trayicon.h
xfitman.h
)
set(LIBRARIES
${X11_LIBRARIES}
${XCOMPOSITE_LIBRARIES}
${XDAMAGE_LIBRARIES}
${XRENDER_LIBRARIES}
${XCB_LIBRARIES}
${XCB_DAMAGE_LIBRARIES}
)
BUILD_LXQT_PLUGIN(${PLUGIN})