Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
System
KSystemLog
Commits
f525d679
Commit
f525d679
authored
Dec 22, 2021
by
Laurent Montel
Browse files
Make KF5DocTools as optional
parent
3828079b
Pipeline
#113083
failed with stage
in 1 minute and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
f525d679
...
...
@@ -50,11 +50,15 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
KIO
Config
Archive
DocTools
I18n
Completion
TextWidgets
)
find_package
(
KF5DocTools
${
KF5_MIN_VERSION
}
)
set_package_properties
(
KF5DocTools PROPERTIES DESCRIPTION
"Tools to generate documentation"
TYPE OPTIONAL
)
find_package
(
Journald
)
find_package
(
Audit
)
...
...
@@ -105,11 +109,14 @@ add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
add_subdirectory
(
src
)
add_subdirectory
(
autotests
)
add_subdirectory
(
doc
)
find_package
(
KF5I18n CONFIG REQUIRED
)
if
(
KF5DocTools_FOUND
)
kdoctools_install
(
po
)
add_subdirectory
(
doc
)
endif
()
ki18n_install
(
po
)
kdoctools_install
(
po
)
ecm_qt_install_logging_categories
(
EXPORT KSYSTEMLOG FILE ksystemlog.categories DESTINATION
${
KDE_INSTALL_LOGGINGCATEGORIESDIR
}
)
kde_configure_git_pre_commit_hook
(
CHECKS CLANG_FORMAT
)
feature_summary
(
WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment