summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <[email protected]>2016-04-04 00:09:14 +0200
committerAndreas Sturmlechner <[email protected]>2017-06-25 15:52:03 +0200
commit0b94df99f36766c03fb693b3c3990e569827eaad (patch)
treec29ae83f523be71538bce8d36382c0dd6b9d969d
parent4973a618acd63c42a2e1a82bcb9bbae77fafd8c0 (diff)
Fix dependencies, search for KF5DocTools
REVIEW: 127568
-rw-r--r--CMakeLists.txt16
1 files changed, 9 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a855d8c..08e6630 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,23 +10,23 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_D
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets Concurrent Svg)
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
Archive
+ Completion
Config
ConfigWidgets
CoreAddons
Crash
- GuiAddons
I18n
- ItemModels
+ ItemViews
KDELibs4Support
KIO
- NewStuff
- NotifyConfig
- TextWidgets
+ Notifications
+ Service
WidgetsAddons
- WindowSystem
XmlGui
)
+find_package(KF5DocTools ${KF5_MIN_VERSION})
+
find_package(KF5KDEGames 4.9.0 REQUIRED)
include(FeatureSummary)
@@ -46,6 +46,8 @@ add_subdirectory(pics)
add_subdirectory(src)
add_subdirectory(mime)
add_subdirectory(puzzles)
-add_subdirectory(doc)
+if (KF5DocTools_FOUND)
+ add_subdirectory(doc)
+endif()
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)