summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-12-20 07:20:12 +0100
committerLaurent Montel <[email protected]>2018-12-20 07:20:12 +0100
commit71751b0450e4516b4679184006506c50e56f03f2 (patch)
tree27f36144ca7b11d3fd0da8ad6cf82511c919f3ee
parentf28546cfa6958ac88f30cad70ab26ba55c2d983f (diff)
USe KF5_MIN_VERSION
-rw-r--r--CMakeLists.txt4
-rw-r--r--src/CMakeLists.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0b2dba0..0d3bfac 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,8 +39,8 @@ option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant,
add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)")
-set(KF5_VERSION ${PROJECT_VERSION}) #When we are happy with the api, we can sync with frameworks
-ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KSCREEN
+set(KF5_MIN_VERSION ${PROJECT_VERSION}) #When we are happy with the api, we can sync with frameworks
+ecm_setup_version(${KF5_MIN_VERSION} VARIABLE_PREFIX KSCREEN
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kscreen_version.h"
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5ScreenConfigVersion.cmake"
SOVERSION 7)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f046b54..f0cf4fb 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -95,7 +95,7 @@ if(BUILD_QCH)
KF5Screen_QCH
NAME KScreen
BASE_NAME KF5Screen
- VERSION ${KF5_VERSION}
+ VERSION ${KF5_MIN_VERSION}
ORG_DOMAIN org.kde
SOURCES # using only public headers, to cover only public API
${KScreen_REQ_HEADERS}