1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-27 22:04:01 +03:00
latte-dock/liblatte2/CMakeLists.txt

33 lines
786 B
CMake
Raw Normal View History

configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config-latte-lib.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-latte-lib.h)
set(latteplugin_SRCS
latteplugin.cpp
backgroundtracker.cpp
commontools.cpp
2017-01-11 17:36:11 +02:00
iconitem.cpp
quickwindowsystem.cpp
types.cpp
plasma/extended/backgroundcache.cpp
plasma/extended/screenpool.cpp
)
2017-02-15 22:14:37 -05:00
add_library(latte2plugin SHARED ${latteplugin_SRCS})
target_link_libraries(latte2plugin
2017-02-15 22:14:37 -05:00
Qt5::Quick
Qt5::Qml
KF5::CoreAddons
KF5::Plasma
KF5::PlasmaQuick
KF5::QuickAddons
KF5::IconThemes
)
2017-02-15 22:14:37 -05:00
if(HAVE_X11)
target_link_libraries(latte2plugin KF5::WindowSystem)
2017-02-15 22:14:37 -05:00
endif()
install(TARGETS latte2plugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/latte)
install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/latte)