Warning, /frameworks/sonnet/src/plugins/hspell/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include_directories(${HSPELL_INCLUDE_DIR}) 0002 0003 find_package(ZLIB) 0004 set_package_properties(ZLIB PROPERTIES DESCRIPTION "Support for gzip compressed files and data streams" 0005 URL "https://www.zlib.net" 0006 TYPE REQUIRED 0007 PURPOSE "Required by the hspell sonnet plugin" 0008 ) 0009 0010 0011 ########### next target ############### 0012 0013 set(sonnet_hspell_PART_SRCS hspellclient.cpp hspelldict.cpp) 0014 0015 ecm_qt_declare_logging_category(sonnet_hspell_PART_SRCS 0016 HEADER hspell_debug.h 0017 IDENTIFIER SONNET_LOG_HSPELL 0018 CATEGORY_NAME kf.sonnet.clients.hspell 0019 OLD_CATEGORY_NAMES sonnet.plugins.hspell 0020 DESCRIPTION "Sonnet Hspell plugin" 0021 EXPORT SONNET 0022 ) 0023 0024 add_library(sonnet_hspell MODULE ${sonnet_hspell_PART_SRCS}) 0025 0026 target_link_libraries(sonnet_hspell PRIVATE KF5::SonnetCore ${HSPELL_LIBRARIES} ZLIB::ZLIB) 0027 0028 if (TARGET Qt6::Core5Compat) 0029 target_link_libraries(sonnet_hspell PRIVATE Qt6::Core5Compat) # QTextCodec 0030 endif() 0031 0032 install(TARGETS sonnet_hspell DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf${QT_MAJOR_VERSION}/sonnet/) 0033