mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 03:30:20 +00:00
6aa123656a
This requires a generator to have a MyGenerator(QObject *parent, const QVariantList &args) constructor in order to be successfully loaded. The OKULAR_EXPORT_PLUGIN macro was adapted, and the generators to provide it the about data; the protected Generator::setAboutData() is no more needed. Remove the 'lib' prefix from plugins, unneeded now. CCMAIL: okular-devel@kde.org svn path=/trunk/KDE/kdegraphics/okular/; revision=744169
27 lines
693 B
CMake
27 lines
693 B
CMake
include_directories(
|
|
${CMAKE_BINARY_DIR}/okular
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
|
)
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(okularGenerator_fb_PART_SRCS
|
|
converter.cpp
|
|
document.cpp
|
|
generator_fb.cpp
|
|
)
|
|
|
|
|
|
kde4_add_plugin(okularGenerator_fb ${okularGenerator_fb_PART_SRCS})
|
|
|
|
target_link_libraries(okularGenerator_fb ${POPPLER_LIBRARY} okularcore ${KDE4_KIO_LIBS} ${MATH_LIB} )
|
|
|
|
install(TARGETS okularGenerator_fb DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES libokularGenerator_fb.desktop okularFb.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
install( FILES okularApplication_fb.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|