Drop KService requirements (it's still there in InteractiveTerminal)

This commit is contained in:
Adriaan de Groot 2017-10-04 08:46:12 -04:00
parent a6ffb0c855
commit 3f739563ef
2 changed files with 1 additions and 6 deletions

View File

@ -3,11 +3,8 @@ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_MODULE_PATH})
include(KDEInstallDirs)
include(GenerateExportHeader)
find_package( KF5 REQUIRED CoreAddons )
# These are needed because KPMcore links publicly against ConfigCore, I18n, WidgetsAddons and Service
find_package( Qt5 REQUIRED DBus )
find_package( KF5 REQUIRED Config I18n WidgetsAddons Service )
find_package( KF5 REQUIRED Config CoreAddons I18n WidgetsAddons )
find_package( KPMcore 3.2 REQUIRED )

View File

@ -1,5 +1,4 @@
find_package( Qt5 COMPONENTS Gui Test REQUIRED )
find_package( KF5 COMPONENTS Service REQUIRED )
include( ECMAddTests )
@ -33,7 +32,6 @@ ecm_add_test( ${partitionjobtests_SRCS}
kpmcore
Qt5::Core
Qt5::Test
KF5::Service
)
set_target_properties( partitionjobtests PROPERTIES AUTOMOC TRUE )