summaryrefslogtreecommitdiff
blob: 1676549d0cdb50ab2e5c1bbd6a6cd390294da735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
commit ce9fa1bd6ce8a642dd3b8c5285b323c31940f9dd
Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
Date:   Wed Mar 16 22:12:04 2016 +0100

    Remove unused deps
    
    REVIEW: 127402

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e6fe48a..b01de7a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,25 +6,19 @@ set (QT_MIN_VERSION "5.3.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(KF5 REQUIRED COMPONENTS 
-    CoreAddons
+find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets Qml Quick)
+find_package(KF5 REQUIRED COMPONENTS
     Config
+    ConfigWidgets
+    CoreAddons
     WidgetsAddons
-    Config
     DBusAddons
     I18n
-    ConfigWidgets
-    TextWidgets
     XmlGui
-    KIO
-    NotifyConfig
-    NewStuff
     DocTools
-    )
+)
 
 find_package(KF5KDEGames 4.9.0 REQUIRED)
-find_package(Phonon4Qt5 CONFIG REQUIRED)
 
 include(FeatureSummary)
 include(ECMAddAppIcon)
@@ -54,7 +48,12 @@ file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/pictures/hi/*-apps-kollision.p
 ecm_add_app_icon(kollision_SRCS ICONS ${ICONS_SRCS})
 add_executable(kollision ${kollision_SRCS})
 
-target_link_libraries(kollision  KF5KDEGames Phonon::phonon4qt5 KF5::DBusAddons KF5::XmlGui KF5::I18n)
+target_link_libraries(kollision
+    KF5::DBusAddons
+    KF5::I18n
+    KF5::XmlGui
+    KF5KDEGames
+)
 
 install(TARGETS kollision ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
 install(PROGRAMS org.kde.kollision.desktop DESTINATION ${KDE_INSTALL_APPDIR})