Commit 5b45801f authored by Aurélien Gâteau's avatar Aurélien Gâteau

KF5 prefix rename

parent 93d0940a
......@@ -35,18 +35,18 @@ find_package(Qt5Script REQUIRED NO_MODULE)
# Load the frameworks we need
find_package(KF5 CONFIG REQUIRED
KIdleTime ItemModels KWidgetsAddons KWindowSystem KCodecs KArchive KCoreAddons Solid ThreadWeaver
KConfig KAuth KJS KWallet KDBusAddons Sonnet
KI18n KGuiAddons KService KConfigWidgets ItemViews KNotifications KIconThemes KStyle KCompletion KJobWidgets KTextWidgets XmlGui KCrash
KBookmarks KUnitConversion KIO KCMUtils KParts KNotifyConfig KPrintUtils KDESu KDocTools KNewStuff )
IdleTime ItemModels WidgetsAddons WindowSystem Codecs Archive CoreAddons Solid ThreadWeaver
Config Auth JS Wallet DBusAddons Sonnet
I18n GuiAddons Service ConfigWidgets ItemViews Notifications IconThemes Style Completion JobWidgets TextWidgets XmlGui Crash
Bookmarks UnitConversion KIO KCMUtils Parts NotifyConfig PrintUtils Su DocTools NewStuff )
find_package(KDeclarative REQUIRED NO_MODULE)
find_package(KIO REQUIRED NO_MODULE)
find_package(KF5Declarative REQUIRED NO_MODULE)
find_package(KF5KIO REQUIRED NO_MODULE)
find_package(KInit)
find_package(KF5Init)
# needed for set_package_properties macro
find_package(KDE4Support REQUIRED NO_MODULE)
find_package(KF5KDE4Support REQUIRED NO_MODULE)
find_package(Qt5Transitional MODULE)
# config.h
......
......@@ -30,9 +30,9 @@ set(kateinterfaces_LIB_SRCS kateappadaptor.cpp
add_library (kateinterfaces SHARED ${kateinterfaces_LIB_SRCS})
target_link_libraries (kateinterfaces ktexteditor
KF5::KParts
KF5::Parts
KF5::KDE4Support
KF5::KNewStuff Qt5::Script KF5::SonnetCore KF5::KArchive KF5::KCMUtils KF5::KPrintUtils KF5::ItemViews
KF5::NewStuff Qt5::Script KF5::SonnetCore KF5::Archive KF5::KCMUtils KF5::PrintUtils KF5::ItemViews
)
set_target_properties(kateinterfaces PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
......
......@@ -8,9 +8,9 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR} )
add_library (katefiletreeplugin MODULE ${katefiletreeplugin_PART_SRCS})
target_link_libraries(katefiletreeplugin kateinterfaces ktexteditor
KF5::KParts
KF5::Parts
KF5::KDE4Support
KF5::KNewStuff Qt5::Script KF5::SonnetCore KF5::KArchive KF5::KCMUtils KF5::KPrintUtils KF5::ItemViews)
KF5::NewStuff Qt5::Script KF5::SonnetCore KF5::Archive KF5::KCMUtils KF5::PrintUtils KF5::ItemViews)
install(TARGETS katefiletreeplugin DESTINATION ${PLUGIN_INSTALL_DIR} )
......
......@@ -63,7 +63,7 @@ set(ktexteditor_LIB_SRCS
add_library (ktexteditor SHARED ${ktexteditor_LIB_SRCS} ${KTEXTEDITOR_PUBLIC_HEADERS})
target_link_libraries(ktexteditor
KF5::KParts
KF5::Parts
KF5::KDE4Support
)
......
......@@ -4,7 +4,7 @@ kde4_add_app_icon(kwrite_KDEINIT_SRCS "${KDE4_INSTALL_DIR}/share/icons/oxygen/*/
kf5_add_kdeinit_executable(kwrite ${kwrite_KDEINIT_SRCS})
target_link_libraries(kdeinit_kwrite ktexteditor
KF5::KParts
KF5::Parts
KF5::KDE4Support)
install(TARGETS kwrite ${INSTALL_TARGETS_DEFAULT_ARGS})
......
......@@ -226,9 +226,9 @@ kde4_add_ui_files(katepart_PART_SRCS ${katepart_PART_UI} )
add_library (katepartinterfaces SHARED ${katepart_PART_SRCS} )
target_link_libraries (katepartinterfaces ktexteditor
KF5::KParts
KF5::Parts
KF5::KDE4Support
KF5::KNewStuff Qt5::Script KF5::SonnetCore KF5::KArchive KF5::KCMUtils KF5::KPrintUtils KF5::ItemViews
KF5::NewStuff Qt5::Script KF5::SonnetCore KF5::Archive KF5::KCMUtils KF5::PrintUtils KF5::ItemViews
)
set_target_properties(
......@@ -245,9 +245,9 @@ add_library (katepart MODULE utils/katefactory.cpp)
# link the part, use kate part interfaces + kde stuff
target_link_libraries (katepart katepartinterfaces ktexteditor
KF5::KParts
KF5::Parts
KF5::KDE4Support
KF5::KNewStuff Qt5::Script KF5::SonnetCore KF5::KArchive KF5::KCMUtils KF5::KPrintUtils KF5::ItemViews)
KF5::NewStuff Qt5::Script KF5::SonnetCore KF5::Archive KF5::KCMUtils KF5::PrintUtils KF5::ItemViews)
# install the part
install (TARGETS katepart DESTINATION ${PLUGIN_INSTALL_DIR})
......
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