Commit bf272ea3 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Remove usage of KDE4_ variables

parent 3e74a973
......@@ -2,6 +2,6 @@ include_directories(${CMAKE_SOURCE_DIR})
add_executable(kdeconnect-cli kdeconnect-cli.cpp)
target_link_libraries(kdeconnect-cli kdeconnectinterfaces Qt5::Gui ${KDE4_KDEUI_LIBS})
target_link_libraries(kdeconnect-cli kdeconnectinterfaces Qt5::Gui KF5::KDELibs4Support)
install(TARGETS kdeconnect-cli ${INSTALL_TARGETS_DEFAULT_ARGS})
......@@ -70,9 +70,9 @@ add_dependencies(kdeconnectinterfaces
)
target_link_libraries(kdeconnectinterfaces
${KDE4_KDEUI_LIBS}
Qt5::Core
Qt5::DBus
KF5::KDELibs4Support
${QJSON_LIBRARIES}
)
......
......@@ -17,7 +17,7 @@ add_library(kcm_kdeconnect MODULE ${kcm_SRCS})
target_link_libraries(kcm_kdeconnect
Qt5::Core
Qt5::Gui
${KDE4_KDEUI_LIBRARY}
KF5::KDELibs4Support
KF5::KCMUtils
kdeconnectinterfaces
)
......
......@@ -5,7 +5,7 @@ set(kdeconnect_battery_SRCS
add_library(kdeconnect_battery MODULE ${kdeconnect_battery_SRCS})
target_link_libraries(kdeconnect_battery kdeconnectcore ${KDE4_KDEUI_LIBS})
target_link_libraries(kdeconnect_battery kdeconnectcore KF5::KDELibs4Support)
install(TARGETS kdeconnect_battery DESTINATION ${PLUGIN_INSTALL_DIR} )
install(FILES kdeconnect_battery.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
......
......@@ -6,7 +6,7 @@ set(kdeconnect_notifications_SRCS
add_library(kdeconnect_notifications MODULE ${kdeconnect_notifications_SRCS})
target_link_libraries(kdeconnect_notifications kdeconnectcore ${KDE4_KDEUI_LIBS})
target_link_libraries(kdeconnect_notifications kdeconnectcore KF5::KDELibs4Support)
install(TARGETS kdeconnect_notifications DESTINATION ${PLUGIN_INSTALL_DIR} )
install(FILES kdeconnect_notifications.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
......
......@@ -21,7 +21,7 @@ qt5_wrap_ui( kdeconnect_pausemusic_config_SRCS pausemusic_config.ui )
add_library(kdeconnect_pausemusic_config MODULE ${kdeconnect_pausemusic_config_SRCS} )
target_link_libraries( kdeconnect_pausemusic_config
${KDE4_KDEUI_LIBS}
KF5::KDELibs4Support
)
install( TARGETS kdeconnect_pausemusic_config DESTINATION ${PLUGIN_INSTALL_DIR} )
......
......@@ -4,7 +4,7 @@ set(kdeconnect_ping_SRCS
add_library(kdeconnect_ping MODULE ${kdeconnect_ping_SRCS})
target_link_libraries(kdeconnect_ping kdeconnectcore ${KDE4_KDEUI_LIBS})
target_link_libraries(kdeconnect_ping kdeconnectcore KF5::KDELibs4Support)
install(TARGETS kdeconnect_ping DESTINATION ${PLUGIN_INSTALL_DIR} )
install(FILES kdeconnect_ping.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
......@@ -6,7 +6,7 @@ set(kdeconnect_sftp_SRCS
add_library(kdeconnect_sftp MODULE ${kdeconnect_sftp_SRCS})
target_link_libraries(kdeconnect_sftp kdeconnectcore ${KDE4_KFILE_LIBS})
target_link_libraries(kdeconnect_sftp kdeconnectcore KF5::File)
install(TARGETS kdeconnect_sftp DESTINATION ${PLUGIN_INSTALL_DIR} )
install(FILES kdeconnect_sftp.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
......@@ -29,7 +29,7 @@ qt5_wrap_ui( kdeconnect_sftp_config_SRCS sftp_config.ui )
add_library(kdeconnect_sftp_config MODULE ${kdeconnect_sftp_config_SRCS} )
target_link_libraries( kdeconnect_sftp_config
${KDE4_KDEUI_LIBS}
KF5::KDELibs4Support
KF5::KIOWidgets
)
......
......@@ -20,7 +20,7 @@ qt5_wrap_ui( kdeconnect_share_config_SRCS share_config.ui )
add_library(kdeconnect_share_config MODULE ${kdeconnect_share_config_SRCS} )
target_link_libraries( kdeconnect_share_config
${KDE4_KDEUI_LIBS}
KF5::KDELibs4Support
KF5::KIOWidgets
)
......
......@@ -4,7 +4,7 @@ set(kdeconnect_telephony_SRCS
add_library(kdeconnect_telephony MODULE ${kdeconnect_telephony_SRCS})
target_link_libraries(kdeconnect_telephony kdeconnectcore ${KDE4_KDEUI_LIBS})
target_link_libraries(kdeconnect_telephony kdeconnectcore KF5::KDELibs4Support)
install(TARGETS kdeconnect_telephony DESTINATION ${PLUGIN_INSTALL_DIR} )
install(FILES kdeconnect_telephony.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
include_directories(
${QJSON_INCLUDE_DIR}
${QCA2_INCLUDE_DIR}
${KDE4_INCLUDES}
${KDEConnectCore_BINARY_DIR}
${CMAKE_SOURCE_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