Commit 3fdc1d51 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use ecm_set_disabled_deprecation_versions

parent 3e20e188
Pipeline #193737 passed with stage
in 6 minutes and 7 seconds
......@@ -25,6 +25,7 @@ include(FeatureSummary)
include(KDEInstallDirs)
include(KDECMakeSettings)
include(GenerateExportHeader)
include(ECMDeprecationSettings)
ecm_setup_version(PROJECT VARIABLE_PREFIX KOSMINDOORMAP
VERSION_HEADER kosmindoormap_version.h
......@@ -70,8 +71,7 @@ if (NOT WIN32)
set_package_properties(Protobuf PROPERTIES TYPE OPTIONAL PURPOSE "Parsing of OSM PBF files.")
endif()
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055600)
ecm_set_disabled_deprecation_versions(QT 5.15.2 KF 5.95.0)
add_subdirectory(src)
if (BUILD_TESTING)
......
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