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

0001 project(KIOFileStash)
0002 cmake_minimum_required(VERSION 3.5)
0003 set(QT_MIN_VERSION "5.15.0")
0004 set(KF5_MIN_VERSION "5.96.0")
0005 set(KDE_COMPILERSETTINGS_LEVEL "5.84.0")
0006 
0007 find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
0008 set(
0009     CMAKE_MODULE_PATH
0010         ${CMAKE_MODULE_PATH}
0011         ${ECM_MODULE_PATH}
0012 )
0013 
0014 include(KDEInstallDirs)
0015 include(KDECMakeSettings)
0016 include(KDECompilerSettings NO_POLICY_SCOPE)
0017 include(ECMSetupVersion)
0018 include(FeatureSummary)
0019 
0020 add_definitions(-DQT_NO_URL_CAST_FROM_STRING) #prevents implicit conversion of QString to QUrl
0021 add_definitions(-DTRANSLATION_DOMAIN=\"kio5_stash\")
0022 
0023 find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED COMPONENTS
0024     Core
0025     DBus
0026     Test
0027 )
0028 
0029 find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
0030     Config
0031     KIO
0032     DBusAddons
0033     I18n
0034 )
0035 
0036 add_subdirectory(dbus)
0037 add_subdirectory(src)
0038 add_subdirectory(tests)
0039 
0040 feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)