Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
KHangMan
Commits
b1ff1dae
Commit
b1ff1dae
authored
Dec 23, 2021
by
Laurent Montel
😁
Browse files
Make doctool as optional
parent
39782758
Pipeline
#113453
failed with stage
in 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
b1ff1dae
...
...
@@ -32,13 +32,16 @@ find_package(KF5 5.81.0 REQUIRED COMPONENTS
Config
CoreAddons
ConfigWidgets
DocTools
NewStuff
Notifications
XmlGui
KIO
)
find_package
(
KF5DocTools
${
KF5_MIN_VERSION
}
)
set_package_properties
(
KF5DocTools PROPERTIES DESCRIPTION
"Tools to generate documentation"
TYPE OPTIONAL
)
find_package
(
LibKEduVocDocument REQUIRED
)
add_definitions
(
-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS
)
...
...
@@ -54,7 +57,9 @@ add_subdirectory( icons )
ki18n_install
(
po
)
if
(
KF5DocTools_FOUND
)
kdoctools_install
(
po
)
add_subdirectory
(
doc
)
endif
()
install
(
FILES org.kde.khangman.appdata.xml DESTINATION
${
KDE_INSTALL_METAINFODIR
}
)
feature_summary
(
WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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