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