kst/0001-Fix-build-with-CMake-3.20.patch
Christophe Marin a5960a5d9c - Update to kst 2.1.0
This release includes all updates since 2.0.8 released in 2014:
  * Too many bug fixes to list
  * Many feature improvements
  Some of the changes can be seen at:
  https://invent.kde.org/graphics/kst-plot/-/compare/v2.0.8...v2.1-2024-10-20
- Remove patches that are already included in 2.1.0:
  * gsl2-support.patch
  * Fix-build-with-Qt-511.patch
  * 0001-Fix-build-with-CMake-3.20.patch
- Add patch to fix a hdf5 include path that we install in
  another directory:
  * fix-hdf5-include-path.patch

OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kst?expand=0&rev=32
2024-10-29 13:02:15 +00:00

30 lines
1.0 KiB
Diff

From c1b7769c37c70d189d09d8dc104d0541433b58b6 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christophe@krop.fr>
Date: Wed, 12 May 2021 07:27:48 +0200
Subject: [PATCH] Fix build with CMake 3.20
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dfb3bf8..b7c75f0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -112,10 +112,10 @@ elseif(kst_3rdparty_download)
elseif(GCC_VERSION VERSION_EQUAL 4.7 OR GCC_VERSION VERSION_GREATER 4.7)
set(ver 4.7)
set(md5 de6e8dbab1bb17eee6057941fddc93e3)
- else(GCC_VERSION VERSION_EQUAL 4.6 OR GCC_VERSION VERSION_GREATER 4.6)
+ elseif(GCC_VERSION VERSION_EQUAL 4.6 OR GCC_VERSION VERSION_GREATER 4.6)
set(ver 4.6)
set(md5 70d8670af9c21eb8fb466654c95d8e4d)
- else(GCC_VERSION VERSION_GREATER 4.4)
+ elseif(GCC_VERSION VERSION_GREATER 4.4)
set(ver 4.4)
set(md5 999248fb40a44543af4dd4cd1be0ceeb)
else()
--
2.31.1