Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 5700cc59 authored by Christophe Giboudeaux's avatar Christophe Giboudeaux

Don't look for KF5Pty when using Windows.

KF5::Pty is used in 2 backends :
- sage isn't built for WIN32 platform,
- maxima doesn't link to KF5::Pty on Windows.

BUG: 386787
parent e1e990f5
......@@ -10,6 +10,7 @@ set (KDE_APPLICATIONS_VERSION_MINOR "08")
set (KDE_APPLICATIONS_VERSION_MICRO "3")
set (KDE_APPLICATIONS_VERSION "${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO}")
set(KF5_MIN_VERSION "5.15.0")
find_package(ECM 5.15.0 REQUIRED CONFIG)
set(CMAKE_MODULE_PATH ${cantor_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
......@@ -23,7 +24,7 @@ find_package(Qt5 CONFIG REQUIRED
XmlPatterns
Test)
find_package(KF5 5.15 REQUIRED
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
Config
Crash
Completion
......@@ -34,12 +35,15 @@ find_package(KF5 5.15 REQUIRED
CoreAddons
Archive
Parts
Pty
TextWidgets
KIO
XmlGui
I18n)
if(NOT WIN32)
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED Pty)
endif()
include(FeatureSummary)
include(ECMInstallIcons)
include(ECMSetupVersion)
......
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