Commit bf5a3d7c authored by Heiko Becker's avatar Heiko Becker 🏃 Committed by Pali Rohár

Group and sort dependencies

- Move all official KDE Frameworks to one find_package(KF5 ...) call
- Sort
- Remove the phonon comment and include dir, because it's already
  searched for earlier and the include dir isn't necessary anymore
  when using its imported target
- Don't use tabs for indentation
parent b6d5bfed
......@@ -16,24 +16,22 @@ find_package(Phonon4Qt5 REQUIRED NO_MODULE)
find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core)
find_package(Qt5 ${REQUIRED_QT_VERSION} REQUIRED COMPONENTS Widgets Xml Sql Test)
find_package(KF5 ${KF5_VERSION} REQUIRED COMPONENTS
CoreAddons
I18n
DocTools
KCMUtils
KHtml
NotifyConfig
Parts
Wallet
KDELibs4Support
TextEditor
Crash
DBusAddons
#[[Phonon]]
Config
CoreAddons
Crash
DBusAddons
DocTools
Emoticons
I18n
KCMUtils
KHtml
NotifyConfig
Parts
TextEditor
Wallet
KDELibs4Support
)
find_package(KF5Config ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5Emoticons ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5DBusAddons ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5Contacts ${KCONTACTS_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5IdentityManagement ${KCONTACTS_LIB_VERSION} CONFIG REQUIRED)
......@@ -45,7 +43,6 @@ include(ECMAddTests)
include(ECMAddAppIcon)
include(ECMInstallIcons)
include(ECMQtDeclareLoggingCategory)
include_directories(${PHONON_INCLUDES})
if(WIN32)
set(CMAKE_REQUIRED_LIBRARIES ${KDEWIN32_LIBRARIES})
......
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