Changeset View
Changeset View
Standalone View
Standalone View
src/urifilters/localdomain/CMakeLists.txt
1 | set(localdomainurifilter_PART_SRCS localdomainurifilter.cpp ) | 1 | set(localdomainurifilter_SRCS localdomainurifilter.cpp ) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | add_library(localdomainurifilter MODULE ${localdomainurifilter_PART_SRCS}) | 3 | kcoreaddons_add_plugin(localdomainurifilter INSTALL_NAMESPACE "kf5/urifilters" JSON localdomainurifilter.json SOURCES ${localdomainurifilter_SRCS}) | ||
4 | 4 | | |||
5 | target_link_libraries(localdomainurifilter KF5::KIOWidgets) | 5 | target_link_libraries(localdomainurifilter KF5::KIOWidgets) | ||
6 | 6 | | |||
7 | set_target_properties(localdomainurifilter PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/kf5/urifilters") | | |||
8 | install(TARGETS localdomainurifilter DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/urifilters) | | |||
9 | | ||||
10 | ########### install files ############### | | |||
11 | | ||||
12 | install(FILES localdomainurifilter.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | |