Warning, /network/choqok/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 cmake_minimum_required(VERSION 3.16) 0002 0003 project(choqok) 0004 0005 set (QT_MIN_VERSION "5.15.0") 0006 set (KF_MIN_VERSION "5.90.0") 0007 0008 find_package(ECM ${KF_MIN_VERSION} REQUIRED NO_MODULE) 0009 0010 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules) 0011 0012 include(KDEInstallDirs) 0013 include(KDECMakeSettings) 0014 include(KDECompilerSettings NO_POLICY_SCOPE) 0015 0016 include(ECMInstallIcons) 0017 include(ECMQtDeclareLoggingCategory) 0018 include(GenerateExportHeader) 0019 include(FeatureSummary) 0020 0021 find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED 0022 Core 0023 DBus 0024 Network 0025 NetworkAuth 0026 Widgets 0027 ) 0028 find_package(KF5 ${KF_MIN_VERSION} REQUIRED 0029 ConfigWidgets 0030 CoreAddons 0031 DocTools 0032 I18n 0033 Emoticons 0034 GuiAddons 0035 KCMUtils 0036 KIO 0037 Notifications 0038 NotifyConfig 0039 Sonnet 0040 TextWidgets 0041 Wallet 0042 WidgetsAddons 0043 XmlGui 0044 ) 0045 if(NOT WIN32) 0046 find_package(KF5 ${KF_MIN_VERSION} REQUIRED GlobalAccel) 0047 endif() 0048 set(HAVE_KGLOBALACCEL ${KF5GlobalAccel_FOUND}) 0049 0050 find_package(KF5 COMPONENTS Purpose) 0051 0052 #option(QTINDICATE_DISABLE "Disable support for notifications via indicator") 0053 0054 find_package(Qca-qt${QT_MAJOR_VERSION} REQUIRED) 0055 0056 #if(NOT QTINDICATE_DISABLE) 0057 # find_package(QtIndicate) 0058 # if(QtIndicate_FOUND) 0059 # set(QTINDICATE_BUILD TRUE) 0060 # endif(QtIndicate_FOUND) 0061 #endif(NOT QTINDICATE_DISABLE) 0062 0063 #if(QTINDICATE_BUILD) 0064 # message(STATUS "Found libindicate-qt: Will support notifications via indicator") 0065 #else(QTINDICATE_BUILD) 0066 # message(STATUS "Optional dependency libindicate-qt not found: Won't support notifications via indicator") 0067 #endif(QTINDICATE_BUILD) 0068 0069 add_subdirectory( libchoqok ) 0070 add_subdirectory( helperlibs ) 0071 add_subdirectory( choqok ) 0072 add_subdirectory( icons ) 0073 add_subdirectory( plugins ) 0074 add_subdirectory( microblogs ) 0075 add_subdirectory( images ) 0076 add_subdirectory( cmake ) 0077 0078 include(ECMOptionalAddSubdirectory) 0079 ecm_optional_add_subdirectory( doc ) 0080 0081 ecm_qt_install_logging_categories( 0082 EXPORT CHOQOK 0083 FILE choqok.categories 0084 DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR} 0085 ) 0086 0087 ki18n_install( po ) 0088 0089 feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)