commit c6198b4b57b36caec9f2267e8a70243cc77681b1 Author: Andreas Sturmlechner Date: Thu Mar 17 00:03:38 2016 +0100 Remove unused deps REVIEW: 127404 diff --git a/CMakeLists.txt b/CMakeLists.txt index 620c789..239aa07 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,24 +6,18 @@ set (QT_MIN_VERSION "5.2.0") find_package(ECM 1.7.0 REQUIRED CONFIG) 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 Qml Quick Svg) find_package(KF5 REQUIRED COMPONENTS CoreAddons Config WidgetsAddons Config DBusAddons - Declarative I18n GuiAddons - ConfigWidgets - ItemViews - IconThemes - Completion - TextWidgets + ConfigWidgets + Completion XmlGui - KIO - NotifyConfig NewStuff DocTools KDELibs4Support @@ -31,8 +25,6 @@ find_package(KF5 REQUIRED COMPONENTS find_package(KF5KDEGames 4.9.0 REQUIRED) -find_package(Phonon4Qt5) - include(FeatureSummary) include(ECMAddAppIcon) include(ECMInstallIcons) @@ -100,9 +92,17 @@ kconfig_add_kcfg_files( kpat_SRCS settings.kcfgc ) file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*-apps-kpat.png") ecm_add_app_icon(kpat_SRCS ICONS ${ICONS_SRCS}) -add_executable( kpat ${kpat_SRCS} ) -target_link_libraries( kpat kcardgame KF5KDEGames KF5::KIOCore Phonon::phonon4qt5 KF5::I18n KF5::DBusAddons KF5::KDELibs4Support) -install( TARGETS kpat ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} ) +add_executable(kpat ${kpat_SRCS}) +target_link_libraries(kpat + KF5::Crash + KF5::DBusAddons + KF5::I18n + KF5::KDELibs4Support + KF5KDEGames + kcardgame +) + +install(TARGETS kpat ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) ########### install files ###############