Warning, /frameworks/sonnet/src/plugins/ispellchecker/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include(CheckIncludeFile) 0002 0003 # needs windows 8 or higher 0004 add_definitions(-DWINVER=0x0602 -D_WIN32_WINNT=0x0602) 0005 0006 CHECK_INCLUDE_FILE(spellcheck.h HAS_SPELLCHECK_H) 0007 0008 if (HAS_SPELLCHECK_H) 0009 set(sonnet_ispellchecker_PART_SRCS 0010 ispellcheckerclient.cpp 0011 ispellcheckerdict.cpp 0012 ) 0013 ecm_qt_declare_logging_category(sonnet_ispellchecker_PART_SRCS 0014 HEADER ispellcheckerdebug.h 0015 IDENTIFIER SONNET_ISPELLCHECKER 0016 CATEGORY_NAME kf.sonnet.clients.ispellchecker 0017 OLD_CATEGORY_NAMES sonnet.plugins.ispellchecker 0018 DESCRIPTION "Sonnet ISpellChecker plugin" 0019 EXPORT SONNET 0020 ) 0021 0022 add_library(sonnet_ispellchecker MODULE ${sonnet_ispellchecker_PART_SRCS}) 0023 target_link_libraries(sonnet_ispellchecker PRIVATE KF5::SonnetCore) 0024 target_compile_definitions(sonnet_ispellchecker PRIVATE DEFINITIONS SONNET_INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}") 0025 0026 install(TARGETS sonnet_ispellchecker DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf${QT_MAJOR_VERSION}/sonnet/) 0027 endif()