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
Utilities
KFind
Commits
332a789e
Commit
332a789e
authored
Dec 22, 2021
by
Laurent Montel
Browse files
Make DocTool as optional
parent
fc2569af
Pipeline
#113175
passed with stage
in 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
332a789e
...
...
@@ -34,12 +34,16 @@ ecm_setup_version(${KFIND_VERSION} VARIABLE_PREFIX KFIND
find_package
(
KF5
${
KF5_MIN_VERSION
}
REQUIRED COMPONENTS
Archive
CoreAddons
DocTools
FileMetaData
I18n
KIO
WidgetsAddons
)
find_package
(
KF5DocTools
${
KF5_MIN_VERSION
}
)
set_package_properties
(
KF5DocTools PROPERTIES DESCRIPTION
"Tools to generate documentation"
TYPE OPTIONAL
)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x050e00
-DQT_DEPRECATED_WARNINGS_SINCE=0x060000
...
...
@@ -49,10 +53,13 @@ add_definitions(
add_subdirectory
(
src
)
add_subdirectory
(
icons
)
add_subdirectory
(
doc
)
ecm_qt_install_logging_categories
(
EXPORT KFIND FILE kfind.categories DESTINATION
${
KDE_INSTALL_LOGGINGCATEGORIESDIR
}
)
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