Use the compat link_public/link_private keywords instead.

Just removing the public/private keywords uncovers some other build errors.
This commit is contained in:
Christophe Giboudeaux 2014-06-24 23:27:46 +02:00
parent ec9317e7ef
commit 5a91db4427

View file

@ -28,7 +28,9 @@ 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
LINK_PUBLIC
${KDE4_KDECORE_LIBS} ${KDE4_KDECORE_LIBS}
LINK_PRIVATE
${KDE4_KIO_LIBS} ${KDE4_KIO_LIBS}
${QJSON_LIBRARIES} ${QJSON_LIBRARIES}
${QT_QTNETWORK_LIBRARY} ${QT_QTNETWORK_LIBRARY}