Make it compiles when deprecated method are disabled. Add more find package
[kdepim.git] / grantleeeditor / headerthemeeditor / CMakeLists.txt
blobd670ef6c0b6e9c5b38687198ceaa54e15a5c3063
1 project( headerthemeeditor )
3 set(headerthemeeditor_SRCS
4     main.cpp
5     themeeditormainwindow.cpp
6     themeeditorpage.cpp
7     previewwidget.cpp
8     editorpage.cpp
9     themetemplatewidget.cpp
10     themedefaulttemplate.cpp
11     defaultcompletion.cpp
12     themeconfiguredialog.cpp
13     themeeditorutil.cpp
14     themeeditorwidget.cpp
15     )
17 ecm_qt_declare_logging_category(headerthemeeditor_SRCS HEADER headerthemeeditor_debug.h IDENTIFIER HEADERTHEMEEDITOR_LOG CATEGORY_NAME log_headerthemeeditor)
18 qt5_add_resources(headerthemeeditor_SRCS headerthemeeditor.qrc)
20 add_executable(headerthemeeditor ${headerthemeeditor_SRCS} )
21 target_link_libraries(headerthemeeditor
22     KF5::Mime
23     KF5::NewStuff
24     KF5::PimCommon
25     KF5::MessageViewer
26     grantleethemeeditor
27     KF5::DBusAddons
28     KF5::GrantleeTheme
29     KF5::PimTextEdit
30     KF5::I18n
31     KF5::XmlGui
32     KF5::Crash
33     )
35 install(TARGETS headerthemeeditor ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
37 install(PROGRAMS org.kde.headerthemeeditor.desktop DESTINATION ${KDE_INSTALL_APPDIR})