Commit 69c91bab authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

Re-enable Strigi analyzer

Based on patch from René J.V. Bertin.

REVIEw: 127628
parent 689b53d0
......@@ -18,7 +18,14 @@ add_subdirectory(lib)
ecm_optional_add_subdirectory(thumbnailers)
#ecm_optional_add_subdirectory(strigi)
find_package(Strigi)
set_package_properties(Strigi PROPERTIES DESCRIPTION "Provide a strigi analyser for Mobipocket documents"
URL "http://strigi.sourceforge.net"
TYPE OPTIONAL
)
if(STRIGI_STREAMS_LIBRARY)
ecm_optional_add_subdirectory(strigi)
endif()
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/QMobipocketConfig.cmake
DESTINATION ${LIB_INSTALL_DIR}/cmake/QMobipocket )
......
include_directories(
${STRIGI_INCLUDE_DIR}
${PROJECT_SOURCE_DIR}/lib
)
include_directories(${STRIGI_INCLUDE_DIR})
########### next target ###############
......@@ -11,10 +8,11 @@ set(mobianalyzer_SRCS
add_library(mobi MODULE ${mobianalyzer_SRCS})
target_link_libraries(mobi ${STRIGI_STREAMS_LIBRARY} ${STRIGI_STREAMANALYZER_LIBRARY} Qt5::Core Qt5::Gui qmobipocket)
target_link_libraries(mobi ${STRIGI_STREAMS_LIBRARY} ${STRIGI_STREAMANALYZER_LIBRARY}
Qt5::Core Qt5::Gui qmobipocket)
# install the module in the right directory so it is picked up
set_target_properties(mobi PROPERTIES PREFIX ${STRIGI_LINE_ANALYZER_PREFIX})
set_target_properties(mobi PROPERTIES PREFIX strigila_)
########### install files ###############
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment