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.
latte-dock/liblatte2/CMakeLists.txt

33 lines
746 B
CMake

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
iconitem.cpp
quickwindowsystem.cpp
types.cpp
)
add_subdirectory(plasma/extended)
add_library(latte2plugin SHARED ${latteplugin_SRCS})
target_link_libraries(latte2plugin
Qt5::Quick
Qt5::Qml
KF5::CoreAddons
KF5::Plasma
KF5::PlasmaQuick
KF5::QuickAddons
KF5::IconThemes
)
if(HAVE_X11)
target_link_libraries(latte2plugin KF5::WindowSystem)
endif()
install(TARGETS latte2plugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/latte)
install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/latte)