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
812 B
30 lines
812 B
add_subdirectory( libkfaximage ) |
|
|
|
include_directories( |
|
${CMAKE_SOURCE_DIR}/okular |
|
${CMAKE_BINARY_DIR}/okular |
|
${CMAKE_CURRENT_SOURCE_DIR}/libkfaximage |
|
) |
|
|
|
|
|
########### next target ############### |
|
|
|
set(okularGenerator_fax_PART_SRCS faxrenderer.cpp ) |
|
|
|
kde4_automoc(${okularGenerator_fax_PART_SRCS}) |
|
|
|
kde4_add_plugin(okularGenerator_fax WITH_PREFIX ${okularGenerator_fax_PART_SRCS}) |
|
|
|
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} okularGenerator_fax ) |
|
|
|
target_link_libraries(okularGenerator_fax okularcore ${KDE4_KDEUI_LIBS} kfaximage ) |
|
|
|
install(TARGETS okularGenerator_fax DESTINATION ${PLUGIN_INSTALL_DIR}) |
|
|
|
|
|
########### install files ############### |
|
|
|
install( FILES libokularGenerator_fax.desktop okularFax.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) |
|
|
|
kde4_install_icons( ${ICON_INSTALL_DIR} ) |
|
|
|
|