Verified Commit 7f434f37 authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Lower min KF5 Version for Windows

To develop for Windows we often compile libkleo and kleopatra
with older kde frameworks. The Gpg4win build system patched
that but it is better to have it in the repo itself.

The release scripts that bump the dependencies in general
should still work.
parent aeb2f056
Pipeline #39630 canceled with stage
...@@ -5,7 +5,13 @@ project(libkleo VERSION ${PIM_VERSION}) ...@@ -5,7 +5,13 @@ project(libkleo VERSION ${PIM_VERSION})
set(KF5_MIN_VERSION "5.75.0") set(KF5_MIN_VERSION "5.75.0")
find_package(ECM ${KF5_MIN_VERSION} CONFIG REQUIRED) if (WIN32)
set(KF5_WANT_VERSION "5.70.0")
else ()
set(KF5_WANT_VERSION ${KF5_MIN_VERSION})
endif ()
find_package(ECM ${KF5_WANT_VERSION} CONFIG REQUIRED)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
include(KDEInstallDirs) include(KDEInstallDirs)
...@@ -28,13 +34,13 @@ set(QT_REQUIRED_VERSION "5.13.0") ...@@ -28,13 +34,13 @@ set(QT_REQUIRED_VERSION "5.13.0")
set(KDEPIMTEXTEDIT_VERSION "5.15.40") set(KDEPIMTEXTEDIT_VERSION "5.15.40")
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets) find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets)
find_package(KF5I18n ${KF5_MIN_VERSION} CONFIG REQUIRED) find_package(KF5I18n ${KF5_WANT_VERSION} CONFIG REQUIRED)
find_package(KF5Config ${KF5_MIN_VERSION} CONFIG REQUIRED) find_package(KF5Config ${KF5_WANT_VERSION} CONFIG REQUIRED)
find_package(KF5WidgetsAddons ${KF5_MIN_VERSION} CONFIG REQUIRED) find_package(KF5WidgetsAddons ${KF5_WANT_VERSION} CONFIG REQUIRED)
find_package(KF5Completion ${KF5_MIN_VERSION} CONFIG REQUIRED) find_package(KF5Completion ${KF5_WANT_VERSION} CONFIG REQUIRED)
find_package(KF5CoreAddons ${KF5_MIN_VERSION} CONFIG REQUIRED) find_package(KF5CoreAddons ${KF5_WANT_VERSION} CONFIG REQUIRED)
find_package(KF5Codecs ${KF5_MIN_VERSION} CONFIG REQUIRED) find_package(KF5Codecs ${KF5_WANT_VERSION} CONFIG REQUIRED)
find_package(KF5ItemModels ${KF5_MIN_VERSION} CONFIG REQUIRED) find_package(KF5ItemModels ${KF5_WANT_VERSION} CONFIG REQUIRED)
find_package(KF5PimTextEdit ${KDEPIMTEXTEDIT_VERSION} CONFIG) find_package(KF5PimTextEdit ${KDEPIMTEXTEDIT_VERSION} CONFIG)
set(GPGMEPP_LIB_VERSION "1.11.1") set(GPGMEPP_LIB_VERSION "1.11.1")
......
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