mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
generic: make Strigi recommended
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
70d1df06ee
commit
e8801340ea
3 changed files with 24 additions and 7 deletions
|
@ -26,6 +26,14 @@ set_package_properties(DBusMenuQt PROPERTIES
|
|||
TYPE RECOMMENDED
|
||||
)
|
||||
|
||||
macro_optional_find_package(Strigi 0.6.3)
|
||||
set_package_properties(Strigi PROPERTIES
|
||||
DESCRIPTION "Desktop indexing and search support"
|
||||
URL "http://strigi.sourceforge.net"
|
||||
TYPE RECOMMENDED
|
||||
PURPOSE "Required for fonts analyzer"
|
||||
)
|
||||
|
||||
macro_optional_find_package(OpenGL)
|
||||
set_package_properties(OpenGL PROPERTIES
|
||||
DESCRIPTION "The OpenGL libraries"
|
||||
|
|
|
@ -28,7 +28,9 @@ if (X11_Xft_FOUND)
|
|||
add_subdirectory( lib )
|
||||
add_subdirectory( dbus )
|
||||
add_subdirectory( kcmfontinst )
|
||||
if (STRIGI_FOUND)
|
||||
add_subdirectory( strigi-analyzer )
|
||||
endif()
|
||||
add_subdirectory( apps )
|
||||
add_subdirectory( kio )
|
||||
add_subdirectory( thumbnail )
|
||||
|
|
|
@ -1,10 +1,17 @@
|
|||
include_directories( ${CMAKE_SOURCE_DIR}/kcontrol/kfontinst/lib/
|
||||
include_directories(
|
||||
${CMAKE_SOURCE_DIR}/kcontrol/kfontinst/lib/
|
||||
${STRIGI_INCLUDE_DIR}
|
||||
)
|
||||
)
|
||||
|
||||
add_library(font MODULE FontThroughAnalyzer.cpp FontEngine.cpp )
|
||||
add_library(font MODULE FontThroughAnalyzer.cpp FontEngine.cpp)
|
||||
|
||||
target_link_libraries(font ${STRIGI_STREAMANALYZER_LIBRARY} ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES} ${KDE4_KIO_LIBS} kfontinst)
|
||||
target_link_libraries(font
|
||||
${STRIGI_STREAMANALYZER_LIBRARY}
|
||||
${FREETYPE_LIBRARIES}
|
||||
${FONTCONFIG_LIBRARIES}
|
||||
${KDE4_KIO_LIBS}
|
||||
kfontinst
|
||||
)
|
||||
|
||||
set_target_properties(font PROPERTIES PREFIX strigita_)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue