mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-07 09:18:03 +03:00
26 lines
558 B
CMake
26 lines
558 B
CMake
set(lattedock_SRCS
|
|
lattedockplugin.cpp
|
|
quickwindowsystem.cpp
|
|
dock.cpp
|
|
iconitem.cpp
|
|
)
|
|
|
|
add_library(lattedockplugin SHARED ${lattedock_SRCS})
|
|
|
|
target_link_libraries(lattedockplugin
|
|
Qt5::Quick
|
|
Qt5::Qml
|
|
KF5::CoreAddons
|
|
KF5::Plasma
|
|
KF5::PlasmaQuick
|
|
KF5::QuickAddons
|
|
KF5::IconThemes
|
|
)
|
|
|
|
if(HAVE_X11)
|
|
target_link_libraries(lattedockplugin KF5::WindowSystem)
|
|
endif()
|
|
|
|
install(TARGETS lattedockplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/latte)
|
|
install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/latte)
|