Commit 05d9ca78 authored by Simon Persson's avatar Simon Persson

Build fix for distros with strange library locations

Fixes #11.
parent d8cc8a6f
......@@ -17,15 +17,15 @@ rsyncjob.cpp
kde4_add_kdeinit_executable(kup-daemon ${kupdaemon_SRCS})
target_link_libraries(kdeinit_kup-daemon
QtCore
QtDBus
QtGui
kdecore
kdeui
kio
kfile
kidletime
solid
${QT_QTCORE_LIBRARY}
${QT_QTDBUS_LIBRARY}
${QT_QTGUI_LIBRARY}
${KDE4_KDECORE_LIBRARY}
${KDE4_KDEUI_LIBRARY}
${KDE4_KIO_LIBRARY}
${KDE4_KFILE_LIBRARY}
${KDE4_KIDLETIME_LIBRARY}
${KDE4_SOLID_LIBRARY}
# save some unnecessary library linking by stating the used libs directly instead of these:
#${KDE4_KDEUI_LIBS}
#${KDE4_KFILE_LIBS}
......
......@@ -17,12 +17,12 @@ add_definitions(-fexceptions)
kde4_add_ui_files(filedigger_SRCS restoredialog.ui)
kde4_add_executable(kup-filedigger ${filedigger_SRCS})
target_link_libraries(kup-filedigger
QtCore
QtGui
kdecore
kdeui
kfile
kio
${QT_QTCORE_LIBRARY}
${QT_QTGUI_LIBRARY}
${KDE4_KDECORE_LIBRARY}
${KDE4_KDEUI_LIBRARY}
${KDE4_KIO_LIBRARY}
${KDE4_KFILE_LIBRARY}
git24kup
)
......
......@@ -17,18 +17,14 @@ planstatuswidget.cpp
kde4_add_plugin(kcm_kup ${kcm_kup_SRCS})
target_link_libraries(kcm_kup
QtCore
QtDBus
QtGui
kdecore
kdeui
kfile
kio
solid
# save some unnecessary library linking by stating the used libs directly instead of these:
#${KDE4_KDEUI_LIBS}
#${KDE4_KFILE_LIBS}
#${KDE4_SOLID_LIBS}
${QT_QTCORE_LIBRARY}
${QT_QTDBUS_LIBRARY}
${QT_QTGUI_LIBRARY}
${KDE4_KDECORE_LIBRARY}
${KDE4_KDEUI_LIBRARY}
${KDE4_KIO_LIBRARY}
${KDE4_KFILE_LIBRARY}
${KDE4_SOLID_LIBRARY}
)
########### install files ###############
......
......@@ -8,11 +8,9 @@ vfshelpers.cpp
kde4_add_plugin(kio_bup ${bupslave_SRCS})
target_link_libraries(kio_bup
#${KDE4_KIO_LIBS}
# save some unneeded linking by naming the needed libraries directly
QtCore
kdecore
kio
${QT_QTCORE_LIBRARY}
${KDE4_KDECORE_LIBRARY}
${KDE4_KIO_LIBRARY}
git24kup
)
......
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