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