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
Accessibility
KMouseTool
Commits
4d2432b2
Commit
4d2432b2
authored
Dec 22, 2021
by
Laurent Montel
Browse files
Make doctool as optional
parent
734af5b1
Pipeline
#113293
passed with stage
in 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
4d2432b2
...
...
@@ -26,14 +26,17 @@ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Gui Widgets)
find_package
(
KF5
${
KF5_MIN_VERSION
}
REQUIRED
DBusAddons
DocTools
I18n
IconThemes
Notifications
XmlGui
WindowSystem
)
find_package
(
KF5DocTools
${
KF5_MIN_VERSION
}
)
set_package_properties
(
KF5DocTools PROPERTIES DESCRIPTION
"Tools to generate documentation"
TYPE OPTIONAL
)
find_package
(
Phonon4Qt5 REQUIRED NO_MODULE
)
find_package
(
X11 REQUIRED
)
...
...
@@ -51,9 +54,11 @@ add_definitions(
-DKF_DEPRECATED_WARNINGS_SINCE=0x060000
)
add_subdirectory
(
doc
)
add_subdirectory
(
kmousetool
)
ki18n_install
(
po
)
kdoctools_install
(
po
)
if
(
KF5DocTools_FOUND
)
kdoctools_install
(
po
)
add_subdirectory
(
doc
)
endif
()
feature_summary
(
WHAT ALL 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