Commit f468d792 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use directly ECMDeprecationSettings

parent 6e38abc3
Pipeline #157765 passed with stage
in 4 minutes and 17 seconds
......@@ -8,8 +8,8 @@ set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE
project(KSystemlog VERSION ${RELEASE_SERVICE_VERSION})
set (QT_MIN_VERSION "5.15.0")
set (KF5_MIN_VERSION "5.90.0")
set (QT_MIN_VERSION "5.15.2")
set (KF5_MIN_VERSION "5.92.0")
find_package (ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
......@@ -22,6 +22,7 @@ include(KDECompilerSettings NO_POLICY_SCOPE)
include(KDECMakeSettings)
include(FeatureSummary)
include(ECMQtDeclareLoggingCategory)
include(ECMDeprecationSettings)
include(KDEGitCommitHooks)
include(KDEClangFormat)
file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h *.c)
......@@ -105,8 +106,9 @@ if (${AUDIT_FOUND})
endif (${AUDIT_FOUND})
########### Subfolders ##########
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f02)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055900)
ecm_set_disabled_deprecation_versions(QT 5.15.2
KF 5.92
)
add_subdirectory(src)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment