diff options
| author | Nicolas Fella <nicolas.fella@gmx.de> | 2021-01-29 22:23:01 +0100 | 
|---|---|---|
| committer | Nicolas Fella <nicolas.fella@gmx.de> | 2021-01-29 22:23:01 +0100 | 
| commit | 1605a2b5cf459cf72b960e32702f5a32ad2cc711 (patch) | |
| tree | c02923f6e8d0198cc210e4ad590fcbb6ee4b1da4 | |
| parent | 2b3bb53fde806a776e3fa27d219584f450a7f853 (diff) | |
| download | kconfig-1605a2b5cf459cf72b960e32702f5a32ad2cc711.tar.gz kconfig-1605a2b5cf459cf72b960e32702f5a32ad2cc711.tar.bz2 | |
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
| -rw-r--r-- | CMakeLists.txt | 4 | ||||
| -rw-r--r-- | src/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/core/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/gui/CMakeLists.txt | 2 | 
4 files changed, 5 insertions, 5 deletions
| diff --git a/CMakeLists.txt b/CMakeLists.txt index 2cdc6b98..4bd2df6b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@  cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.79.0") # handled by release scripts -project(KConfig VERSION ${KF5_VERSION}) +set(KF_VERSION "5.79.0") # handled by release scripts +project(KConfig VERSION ${KF_VERSION})  include(FeatureSummary)  find_package(ECM 5.79.0  NO_MODULE) 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} | 
