2016-12-28 19:01:25 +03:00
find_package ( KF5I18n NO_MODULE )
2016-12-25 10:25:27 +03:00
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
. . / l i b l a t t e d o c k / d o c k . c p p
2016-12-29 06:27:55 +03:00
w i n d o w i n f o w r a p . c p p
2016-12-28 10:45:21 +03:00
a b s t r a c t w i n d o w i n t e r f a c e . c p p
2016-12-25 10:25:27 +03:00
x w i n d o w i n t e r f a c e . c p p
2016-12-28 10:45:21 +03:00
w i n d o w i n f o w r a p . c p p
2016-12-25 10:25:27 +03:00
v i s i b i l i t y m a n a g e r . c p p
n o w d o c k c o n f i g v i e w . c p p
n o w d o c k v i e w . c p p
p a c k a g e p l u g i n s / s h e l l / n o w d o c k p a c k a g e . c p p
n o w d o c k c o r o n a . c p p
m a i n . c p p
)
#add_subdirectory(packageplugins)
2016-12-25 16:37:20 +03:00
add_executable ( latte-dock ${ lattedock-app_SRCS } )
2016-12-25 10:25:27 +03:00
2016-12-30 10:10:12 +03:00
include ( FakeTarget.cmake )
2016-12-25 10:25:27 +03:00
target_link_libraries (
2016-12-25 16:37:20 +03:00
l a t t e - d o c k
2016-12-25 10:25:27 +03:00
Q t 5 : : W i d g e t s
Q t 5 : : Q u i c k
Q t 5 : : Q m l
2016-12-30 10:10:12 +03:00
Q t 5 : : X 1 1 E x t r a s
2016-12-25 10:25:27 +03:00
K F 5 : : I 1 8 n
K F 5 : : C o r e A d d o n s
K F 5 : : X m l G u i
K F 5 : : P l a s m a Q u i c k
K F 5 : : P l a s m a
K F 5 : : Q u i c k A d d o n s
K F 5 : : D B u s A d d o n s
K F 5 : : N o t i f i c a t i o n s
2016-12-30 10:10:12 +03:00
K F 5 : : W i n d o w S y s t e m
2016-12-25 10:25:27 +03:00
)
2016-12-25 16:37:20 +03:00
install ( TARGETS latte-dock ${ KDE_INSTALL_TARGETS_DEFAULT_ARGS } )
2016-12-25 10:25:27 +03:00
#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 } )