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.
28 lines
895 B
28 lines
895 B
add_subdirectory( kio-msits ) |
|
|
|
include_directories( |
|
${CMAKE_CURRENT_SOURCE_DIR}/../.. |
|
${CHM_INCLUDE_DIR} |
|
${CMAKE_CURRENT_SOURCE_DIR}/lib |
|
) |
|
|
|
|
|
########### next target ############### |
|
|
|
set(okularGenerator_chmlib_SRCS |
|
lib/lchmurlhandler.cpp |
|
lib/libchmfile.cpp |
|
lib/libchmfileimpl.cpp |
|
lib/libchmfile_search.cpp |
|
lib/libchmtextencoding.cpp |
|
lib/libchmtocimage.cpp |
|
generator_chm.cpp |
|
) |
|
|
|
okular_add_generator(okularGenerator_chmlib ${okularGenerator_chmlib_SRCS}) |
|
target_link_libraries(okularGenerator_chmlib okularcore ${CHM_LIBRARY} KF5::KHtml) |
|
|
|
########### install files ############### |
|
install( FILES okularChm.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) |
|
install( PROGRAMS okularApplication_chm.desktop org.kde.mobile.okular_chm.desktop DESTINATION ${KDE_INSTALL_APPDIR} ) |
|
install( FILES org.kde.okular-chm.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
|
|
|