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
Games
KDiamond
Commits
fcfca35e
Commit
fcfca35e
authored
Dec 28, 2021
by
Laurent Montel
Browse files
Make doctool as optional
parent
50cd38c5
Pipeline
#114998
failed with stage
in 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
fcfca35e
...
...
@@ -29,7 +29,6 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
Config
Crash
DBusAddons
DocTools
WidgetsAddons
Config
I18n
...
...
@@ -38,6 +37,11 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
Notifications
NotifyConfig
)
find_package
(
KF5DocTools
${
KF5_MIN_VERSION
}
)
set_package_properties
(
KF5DocTools PROPERTIES DESCRIPTION
"Tools to generate documentation"
TYPE OPTIONAL
)
find_package
(
KF5KDEGames 7.3.0 REQUIRED
)
...
...
@@ -51,9 +55,13 @@ add_definitions(
add_subdirectory
(
src
)
add_subdirectory
(
sounds
)
add_subdirectory
(
themes
)
add_subdirectory
(
doc
)
ki18n_install
(
po
)
kdoctools_install
(
po
)
if
(
KF5DocTools_FOUND
)
kdoctools_install
(
po
)
add_subdirectory
(
doc
)
endif
()
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