Drop unused, add missing dependencies

REVIEW: 127564
parent a1be33aa
...@@ -7,29 +7,23 @@ set (KF5_MIN_VERSION "5.15.0") ...@@ -7,29 +7,23 @@ set (KF5_MIN_VERSION "5.15.0")
find_package(ECM 1.7.0 REQUIRED CONFIG) find_package(ECM 1.7.0 REQUIRED CONFIG)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets Qml Quick QuickWidgets Svg Test) find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets Svg)
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
Completion
Config Config
ConfigWidgets ConfigWidgets
CoreAddons CoreAddons
Crash Crash
DBusAddons DBusAddons
I18n I18n
ItemModels
KDELibs4Support KDELibs4Support
KIO
NewStuff
NotifyConfig
TextWidgets
WidgetsAddons WidgetsAddons
WindowSystem
XmlGui XmlGui
) )
find_package(KF5KDEGames 4.9.0 REQUIRED) find_package(KF5DocTools ${KF5_MIN_VERSION})
find_package(Phonon4Qt5 CONFIG REQUIRED)
include_directories(BEFORE ${PHONON_INCLUDES}) find_package(KF5KDEGames 4.9.0 REQUIRED)
include(FeatureSummary) include(FeatureSummary)
include(ECMAddAppIcon) include(ECMAddAppIcon)
...@@ -42,7 +36,9 @@ add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS) ...@@ -42,7 +36,9 @@ add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
add_subdirectory( pics ) add_subdirectory( pics )
add_subdirectory( doc ) if (KF5DocTools_FOUND)
add_subdirectory( doc )
endif()
########### next target ############### ########### next target ###############
......
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