Commit 62eeb1fa authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make doctool as optional

parent 2d7547bd
Pipeline #115238 passed with stage
in 1 minute and 6 seconds
......@@ -33,9 +33,12 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
I18n
XmlGui
NewStuff
DocTools
DBusAddons)
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)
add_definitions(
......@@ -47,10 +50,12 @@ add_definitions(
add_subdirectory(levels)
add_subdirectory(icons)
add_subdirectory(doc)
add_subdirectory(src)
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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment