Fix build with older CMake versions.

This commit is contained in:
Christophe Giboudeaux 2014-06-24 22:40:23 +02:00
parent 7cbd1c0d57
commit ec9317e7ef

View file

@ -28,10 +28,7 @@ set(kded_kdeconnect_SRCS
kde4_add_library(kdeconnectcore SHARED ${kded_kdeconnect_SRCS}) kde4_add_library(kdeconnectcore SHARED ${kded_kdeconnect_SRCS})
target_link_libraries(kdeconnectcore target_link_libraries(kdeconnectcore
PUBLIC
${KDE4_KDECORE_LIBS} ${KDE4_KDECORE_LIBS}
PRIVATE
${KDE4_KIO_LIBS} ${KDE4_KIO_LIBS}
${QJSON_LIBRARIES} ${QJSON_LIBRARIES}
${QT_QTNETWORK_LIBRARY} ${QT_QTNETWORK_LIBRARY}