Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 93e4d232 authored by Luigi Toscano's avatar Luigi Toscano

doc- and i18n-related fixes for the main cmake file

- move the search of KDocTools with the other KF5 modules (required
  as before);
- add the macro to handle the translated artifacts injected at
  release time (translations, translated documentation).
parent 4c819a2a
......@@ -46,9 +46,9 @@ find_package(
I18n
CoreAddons
Crash
DocTools
IconThemes
)
find_package(KF5DocTools ${KF5_MIN_VERSION} REQUIRED )
# I don't need warnings about wired things in comments.
set(CLANG_WARNING_FLAGS -Wno-comment)
......@@ -75,7 +75,6 @@ include_directories(
)
add_subdirectory(src)
#add_subdirectory(po)
add_subdirectory(doc)
find_file(KFILEITEMACTIONPLUGIN_FOUND kabstractfileitemactionplugin.h PATHS)
......@@ -93,4 +92,7 @@ else(KFILEITEMACTIONPLUGIN_FOUND)
message(STATUS "No automatic fallback provided current configuration is not supported for plugin...")
endif(KFILEITEMACTIONPLUGIN_FOUND)
ki18n_install(po)
kdoctools_install(po)
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
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