CMakeLists.txt 621 Bytes
Newer Older
Yuri Chornoivan's avatar
Yuri Chornoivan committed
1
add_definitions(-DTRANSLATION_DOMAIN=\"kcm_baloofile\")
2
3
4
5

set(kcm_file_SRCS
  kcm.cpp
  fileexcludefilters.cpp
6
  filteredfoldermodel.cpp
7
8
9
10
11
12
13
14
15
16
)

add_library(kcm_baloofile MODULE ${kcm_file_SRCS})

target_link_libraries(kcm_baloofile
  KF5::CoreAddons
  KF5::KCMUtils
  KF5::I18n
  KF5::Solid
  KF5::Baloo
17
  KF5::QuickAddons
18
19
20
21
  Qt5::DBus
  Qt5::Widgets
)

22
kcoreaddons_desktop_to_json(kcm_baloofile "kcm_baloofile.desktop")
23

24
install(FILES kcm_baloofile.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
25
26
27
install(TARGETS kcm_baloofile DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms)

kpackage_install_package(package kcm_baloofile kcms)