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
Education
KBruch
Commits
ad0fe563
Commit
ad0fe563
authored
Dec 23, 2021
by
Laurent Montel
Browse files
Make DocTool as optional
parent
05a0b0c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
ad0fe563
...
...
@@ -36,6 +36,12 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
WidgetsAddons
XmlGui
)
find_package
(
KF5DocTools
${
KF5_MIN_VERSION
}
)
set_package_properties
(
KF5DocTools PROPERTIES DESCRIPTION
"Tools to generate documentation"
TYPE OPTIONAL
)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x050c00
-DQT_DEPRECATED_WARNINGS_SINCE=0x060000
...
...
@@ -46,13 +52,14 @@ add_definitions(
kde_enable_exceptions
()
add_subdirectory
(
doc
)
add_subdirectory
(
src
)
ki18n_install
(
po
)
if
(
KF5DocTools_FOUND
)
kdoctools_install
(
po
)
add_subdirectory
(
doc
)
endif
()
install
(
FILES org.kde.kbruch.appdata.xml DESTINATION
${
KDE_INSTALL_METAINFODIR
}
)
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