mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-08 01:18:21 +03:00
0d1661f942
--this way we can use it to plenty places
32 lines
746 B
CMake
32 lines
746 B
CMake
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config-latte-lib.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-latte-lib.h)
|
|
|
|
set(lattecoreplugin_SRCS
|
|
lattecoreplugin.cpp
|
|
dialog.cpp
|
|
environment.cpp
|
|
iconitem.cpp
|
|
quickwindowsystem.cpp
|
|
tools.cpp
|
|
types.h
|
|
)
|
|
|
|
add_library(lattecoreplugin SHARED ${lattecoreplugin_SRCS})
|
|
|
|
target_link_libraries(lattecoreplugin
|
|
Qt5::Quick
|
|
Qt5::Qml
|
|
KF5::CoreAddons
|
|
KF5::Plasma
|
|
KF5::PlasmaQuick
|
|
KF5::QuickAddons
|
|
KF5::IconThemes
|
|
)
|
|
|
|
if(HAVE_X11)
|
|
target_link_libraries(lattecoreplugin KF5::WindowSystem)
|
|
endif()
|
|
|
|
install(TARGETS lattecoreplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/latte/core)
|
|
|
|
install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/latte/core)
|