Commit 5c9544d3 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make doctool as optional

parent 86ac8ea7
......@@ -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
......
Markdown is supported
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