You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
767 B
30 lines
767 B
include_directories( |
|
${CMAKE_BINARY_DIR}/okular |
|
${CMAKE_CURRENT_SOURCE_DIR}/../.. |
|
) |
|
|
|
|
|
########### next target ############### |
|
|
|
set(okularGenerator_ooo_PART_SRCS |
|
converter.cpp |
|
document.cpp |
|
formatproperty.cpp |
|
generator_ooo.cpp |
|
styleinformation.cpp |
|
styleparser.cpp |
|
) |
|
|
|
|
|
kde4_add_plugin(okularGenerator_ooo ${okularGenerator_ooo_PART_SRCS}) |
|
|
|
target_link_libraries(okularGenerator_ooo ${POPPLER_LIBRARY} okularcore ${KDE4_KIO_LIBS} ${MATH_LIB} ) |
|
|
|
install(TARGETS okularGenerator_ooo DESTINATION ${PLUGIN_INSTALL_DIR}) |
|
|
|
|
|
########### install files ############### |
|
|
|
install( FILES libokularGenerator_ooo.desktop okularOoo.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) |
|
install( FILES okularApplication_ooo.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) |
|
|
|
|