summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-08-09 10:46:36 (GMT)
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2014-08-09 10:46:36 (GMT)
commitcebdf978ceace041dc8b6725dccdf7d5b47c7720 (patch)
tree37409bd5cbbe077b4ec8ff69a472b5a33064a0ac
parente638e59c15ae6099634706e125611314d569b054 (diff)
Fix linking to KF5 libs
-rw-r--r--CMakeLists.txt2
-rw-r--r--shell/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fd3adaa..181cb28 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -240,7 +240,7 @@ qt4_add_dbus_interfaces(okularpart_SRCS ${KDE4_DBUS_INTERFACES_DIR}/org.kde.KSpe
kde4_add_plugin(okularpart SHARED ${okularpart_SRCS})
-target_link_libraries(okularpart okularcore ${KDE4_KPARTS_LIBS} ${KDE4_KPRINTUTILS_LIBS} ${MATH_LIB} ${QIMAGEBLITZ_LIBRARIES} ${KDE4_PHONON_LIBRARY} ${KDE4_SOLID_LIBRARY})
+target_link_libraries(okularpart okularcore KF5::Parts ${KDE4_KPRINTUTILS_LIBS} ${MATH_LIB} ${QIMAGEBLITZ_LIBRARIES} ${KDE4_PHONON_LIBRARY} ${KDE4_SOLID_LIBRARY})
install(TARGETS okularpart DESTINATION ${PLUGIN_INSTALL_DIR})
diff --git a/shell/CMakeLists.txt b/shell/CMakeLists.txt
index d64f350..9219402 100644
--- a/shell/CMakeLists.txt
+++ b/shell/CMakeLists.txt
@@ -28,7 +28,7 @@ kde4_add_app_icon(okular_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../ui/data/icons/hi*-
kde4_add_executable(okular ${okular_SRCS})
-target_link_libraries(okular ${KDE4_KPARTS_LIBS} ${KACTIVITIES_LIBRARY})
+target_link_libraries(okular KF5::Parts KF5::KActivities)
install(TARGETS okular ${INSTALL_TARGETS_DEFAULT_ARGS})