Update CMakeLists in order to take in consideration KDE Frameworks target name change.

This commit is contained in:
Benjamin Port 2013-07-14 18:17:30 +02:00
parent f8c4a90b14
commit 9f13125a6e

View File

@ -48,14 +48,13 @@ find_package(kdeqt5staging REQUIRED NO_MODULE)
# Load CMake, Compiler and InstallDirs settings from KF5 and the following are already somewhat "done" tier1/tier2 libs from kdelibs:
find_package(KF5 MODULE REQUIRED COMPONENTS CMake Compiler InstallDirs
XmlGui KIdleTime ItemModels KWidgetsAddons KWindowSystem KCodecs KArchive KCoreAddons Solid ThreadWeaver
KIdleTime ItemModels KWidgetsAddons KWindowSystem KCodecs KArchive KCoreAddons Solid ThreadWeaver
KConfig KAuth kjs KWallet KDBusAddons
ki18n kguiaddons kservice kwidgets ItemViews KNotifications KIconThemes KCompletion KJobWidgets KConfigWidgets Sonnet)
ki18n kguiaddons KService KWidgets ItemViews KNotifications KIconThemes KCompletion KJobWidgets KConfigWidgets Sonnet ktextwidgets XmlGui)
#find_package(KF5Transitional REQUIRED)
# those are not "done" yet:
find_package(KCrash REQUIRED NO_MODULE)
find_package(ktextwidgets REQUIRED NO_MODULE)
find_package(ki18n REQUIRED NO_MODULE)
find_package(kio REQUIRED NO_MODULE)
find_package(kdeclarative REQUIRED NO_MODULE)
@ -114,6 +113,13 @@ set_package_properties(DBusMenuQt PROPERTIES DESCRIPTION "Support for notificati
TYPE REQUIRED
)
# TODO remove it in future
find_package(LibAttica NO_MODULE)
set_package_properties(LibAttica PROPERTIES DESCRIPTION "Support for Get Hot New Stuff related stuff"
URL "https://projects.kde.org/attica"
TYPE REQUIRED
)
#########################################################################
#add_definitions(${KDE4_DEFINITIONS})