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

Use KF5_VERSION

parent aa408a65
......@@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 2.8.12)
project(KHolidays)
# ECM setup
find_package(ECM 5.19.0 CONFIG REQUIRED)
set(KF5_VERSION "5.22.0")
find_package(ECM ${KF5_VERSION} CONFIG REQUIRED)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
include(GenerateExportHeader)
......@@ -19,7 +20,6 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
set(PIM_VERSION "5.2.40")
set(KF5_VERSION "5.19.0")
set(KHOLIDAYS_LIB_VERSION ${PIM_VERSION})
ecm_setup_version(${KHOLIDAYS_LIB_VERSION} VARIABLE_PREFIX KHOLIDAYS
......
Markdown is supported
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