File: CMakeLists.txt

package info (click to toggle)
choqok 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 9,556 kB
  • sloc: cpp: 26,332; xml: 670; makefile: 12; sh: 3
file content (25 lines) | stat: -rw-r--r-- 628 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
include_directories(
    ${CHOQOK_INCLUDES}
)

set(choqok_quickfilter_PART_SRCS
    quickfilter.cpp
)

add_library(choqok_quickfilter MODULE ${choqok_quickfilter_PART_SRCS})

kcoreaddons_desktop_to_json(choqok_quickfilter choqok_quickfilter.desktop)

target_link_libraries(choqok_quickfilter
PUBLIC
    Qt5::Core
    Qt5::Widgets
    KF5::CoreAddons
    KF5::I18n
    KF5::XmlGui
    choqok
)

install(TARGETS choqok_quickfilter DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES choqok_quickfilter.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES quickfilterui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/choqok_quickfilter)