1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-26 23:21:37 +03:00
latte-dock/app/CMakeLists.txt

49 lines
1.1 KiB
CMake
Raw Normal View History

find_package(KF5I18n NO_MODULE)
include(KDEInstallDirs)
include(KDECMakeSettings)
#include(KDECompilerSettings NO_POLICY_SCOPE)
#include(ECMPackageConfigHelpers)
include(CMakePackageConfigHelpers)
include(WriteBasicConfigVersionFile)
include(CheckIncludeFiles)
include(ECMOptionalAddSubdirectory)
include(ECMQtDeclareLoggingCategory)
include(KDEPackageAppTemplates)
2016-12-25 16:37:20 +03:00
set(lattedock-app_SRCS
2016-12-25 22:28:00 +03:00
../liblattedock/dock.cpp
abstractinterface.cpp
xwindowinterface.cpp
visibilitymanager.cpp
nowdockconfigview.cpp
nowdockview.cpp
packageplugins/shell/nowdockpackage.cpp
nowdockcorona.cpp
main.cpp
)
#add_subdirectory(packageplugins)
2016-12-25 16:37:20 +03:00
add_executable(latte-dock ${lattedock-app_SRCS})
target_link_libraries(
2016-12-25 16:37:20 +03:00
latte-dock
Qt5::Widgets
Qt5::Quick
Qt5::Qml
KF5::I18n
KF5::CoreAddons
KF5::XmlGui
KF5::PlasmaQuick
KF5::Plasma
KF5::QuickAddons
KF5::DBusAddons
KF5::Notifications
)
2016-12-25 16:37:20 +03:00
install(TARGETS latte-dock ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
#even if hidden, the desktop file is needed anyways for kdbusservice::unique
2016-12-25 16:37:20 +03:00
install(FILES latte-dock.desktop DESTINATION ${KDE_INSTALL_APPDIR})