Fix build without KDocTools

Reviewers: #frameworks

Tags: #frameworks

Maniphest Tasks: T6711

Differential Revision: https://phabricator.kde.org/D7680
This commit is contained in:
Volker Krause 2017-09-03 19:15:18 +02:00
parent 8aebae2576
commit 18d04e9b41

View File

@ -160,7 +160,9 @@ endif()
add_definitions(-DTRANSLATION_DOMAIN=\"libplasma5\")
if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po")
ki18n_install(po)
kdoctools_install(po)
if (KF5DocTools_FOUND)
kdoctools_install(po)
endif()
endif()
add_subdirectory(src)