Commit 6081d28a authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Move sources into src/ subdir

parent 97886d92
......@@ -31,30 +31,7 @@ add_definitions(
-DQT_NO_URL_CAST_FROM_STRING
)
add_definitions(-DTRANSLATION_DOMAIN="svgpart")
ecm_setup_version(${SVGPART_VERSION}
VARIABLE_PREFIX SVGPART
VERSION_HEADER svgpart_version.h
)
set(svgpart_SRCS
svgbrowserextension.cpp
svgpart.cpp
)
qt5_add_resources(svgpart_SRCS
svgpart.qrc
)
add_library(svgpart MODULE ${svgpart_SRCS})
kcoreaddons_desktop_to_json(svgpart svgpart.desktop)
target_link_libraries(svgpart Qt5::Widgets Qt5::Svg KF5::CoreAddons KF5::Parts)
install(TARGETS svgpart DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/parts)
install(FILES svgpart.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
add_subdirectory(src)
ki18n_install(po)
......
add_definitions(-DTRANSLATION_DOMAIN="svgpart")
ecm_setup_version(${SVGPART_VERSION}
VARIABLE_PREFIX SVGPART
VERSION_HEADER svgpart_version.h
)
set(svgpart_SRCS
svgbrowserextension.cpp
svgpart.cpp
)
qt5_add_resources(svgpart_SRCS
svgpart.qrc
)
add_library(svgpart MODULE ${svgpart_SRCS})
kcoreaddons_desktop_to_json(svgpart svgpart.desktop)
target_link_libraries(svgpart Qt5::Widgets Qt5::Svg KF5::CoreAddons KF5::Parts)
install(TARGETS svgpart DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/parts)
install(FILES svgpart.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment