Warning, /utilities/ksecrets/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 cmake_minimum_required(VERSION 2.8.12)
0002 
0003 project(KSecrets)
0004 set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
0005 
0006 include(FeatureSummary)
0007 find_package(ECM 5.11.0 NO_MODULE)
0008 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules")
0009 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES)
0010 
0011 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
0012 
0013 set(REQUIRED_QT_VERSION 5.2.0)
0014 find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED
0015   Core
0016   Gui
0017   Widgets
0018   Concurrent
0019   DBus
0020   Test)
0021 
0022 option(BUILD_TESTS "Build KSecrets with unit tests" ON)
0023 
0024 set(KF5_VERSION "5.13.0")
0025 include(KDEInstallDirs)
0026 include(KDEFrameworkCompilerSettings)
0027 include(KDECMakeSettings)
0028 include(FeatureSummary)
0029 include(GenerateExportHeader)
0030 include(ECMSetupVersion)
0031 include(ECMGenerateHeaders)
0032 
0033 
0034 add_subdirectory(src)
0035 
0036 if(BUILD_TESTS)
0037    add_subdirectory(autotests)
0038 endif()
0039 
0040 feature_summary(WHAT ALL   FATAL_ON_MISSING_REQUIRED_PACKAGES)