mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 10:55:37 +00:00
Fix linking to KF5 libs
This commit is contained in:
parent
e638e59c15
commit
cebdf978ce
|
@ -240,7 +240,7 @@ qt4_add_dbus_interfaces(okularpart_SRCS ${KDE4_DBUS_INTERFACES_DIR}/org.kde.KSpe
|
||||||
|
|
||||||
kde4_add_plugin(okularpart SHARED ${okularpart_SRCS})
|
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})
|
install(TARGETS okularpart DESTINATION ${PLUGIN_INSTALL_DIR})
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ kde4_add_app_icon(okular_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../ui/data/icons/hi*-
|
||||||
|
|
||||||
kde4_add_executable(okular ${okular_SRCS})
|
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})
|
install(TARGETS okular ${INSTALL_TARGETS_DEFAULT_ARGS})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue