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
Graphics
Kamera
Commits
5c9544d3
Commit
5c9544d3
authored
Dec 23, 2021
by
Laurent Montel
😁
Browse files
Make doctool as optional
parent
86ac8ea7
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
5c9544d3
...
...
@@ -25,7 +25,13 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
KIO
I18n
Config
DocTools
)
)
find_package
(
KF5DocTools
${
KF5_MIN_VERSION
}
)
set_package_properties
(
KF5DocTools PROPERTIES DESCRIPTION
"Tools to generate documentation"
TYPE OPTIONAL
)
include
(
CMakePushCheckState
)
include
(
CheckSymbolExists
)
...
...
@@ -61,7 +67,13 @@ add_definitions(
add_subdirectory
(
kcontrol
)
add_subdirectory
(
kioslave
)
add_subdirectory
(
doc
)
ki18n_install
(
po
)
if
(
KF5DocTools_FOUND
)
kdoctools_install
(
po
)
add_subdirectory
(
doc
)
endif
()
install
(
FILES
solid_camera.desktop
...
...
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