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.
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)
|