From 1605a2b5cf459cf72b960e32702f5a32ad2cc711 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Fri, 29 Jan 2021 22:23:01 +0100 Subject: Replace KF5_VERSION with KF_VERSION Frameworks will be Frameworks 6 at some point and there is no good reason to have the major version in the variable name. Given this is purely internal we can to this now, making it a bit more future-proof GIT_SILENT NO_CHANGELOG --- src/CMakeLists.txt | 2 +- src/core/CMakeLists.txt | 2 +- src/gui/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4f61c001..151c3249 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -17,7 +17,7 @@ if (BUILD_QCH) KF5Config_QCH NAME KConfig BASE_NAME KF5Config - VERSION ${KF5_VERSION} + VERSION ${KF_VERSION} ORG_DOMAIN org.kde SOURCES # using only public headers, to cover only public API ${KConfigCore_APIDOX_SRCS} diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index e35da083..eb16d039 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -29,7 +29,7 @@ add_library(KF5::ConfigCore ALIAS KF5ConfigCore) ecm_generate_export_header(KF5ConfigCore BASE_NAME KConfigCore GROUP_BASE_NAME KF - VERSION ${KF5_VERSION} + VERSION ${KF_VERSION} DEPRECATED_BASE_VERSION 0 DEPRECATION_VERSIONS 4.0 5.0 5.24 5.42 EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT} diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 5a276f97..2de87570 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -13,7 +13,7 @@ add_library(KF5::ConfigGui ALIAS KF5ConfigGui) ecm_generate_export_header(KF5ConfigGui BASE_NAME KConfigGui GROUP_BASE_NAME KF - VERSION ${KF5_VERSION} + VERSION ${KF_VERSION} DEPRECATED_BASE_VERSION 0 DEPRECATION_VERSIONS 5.11 5.39 5.71 EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT} -- cgit v1.2.1