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.
24 lines
694 B
24 lines
694 B
include_directories( |
|
${CMAKE_CURRENT_SOURCE_DIR}/../.. |
|
${CMAKE_BINARY_DIR}/okular |
|
) |
|
|
|
########### next target ############### |
|
|
|
set(okularGenerator_txt_SRCS |
|
generator_txt.cpp |
|
converter.cpp |
|
document.cpp |
|
) |
|
|
|
|
|
add_library(okularGenerator_txt MODULE ${okularGenerator_txt_SRCS}) |
|
|
|
target_link_libraries(okularGenerator_txt okularcore Qt5::Core) |
|
install(TARGETS okularGenerator_txt DESTINATION ${PLUGIN_INSTALL_DIR}) |
|
|
|
|
|
########### install files ############### |
|
|
|
install( FILES libokularGenerator_txt.desktop okularTxt.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) |
|
install( PROGRAMS okularApplication_txt.desktop active-documentviewer_txt.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
|
|