File: upstream_Fix-build-with-CMake-4.0.patch

package info (click to toggle)
icecc-monitor 3.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 600 kB
  • sloc: cpp: 4,389; xml: 73; makefile: 6; sh: 2
file content (23 lines) | stat: -rw-r--r-- 620 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From b07bf3eb0c28ac5cd527d3ab675d2273d1866b48 Mon Sep 17 00:00:00 2001
From: Sergio Martins <sergio.martins@kdab.com>
Date: Mon, 28 Apr 2025 03:39:49 +0100
Subject: [PATCH] Fix build with CMake 4.0

Newer CMake doesn't support such old minimum version
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6be47d3..e149f84 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.1.0)
+cmake_minimum_required(VERSION 3.10.0)
 project(icemon VERSION 3.3)
 
 find_package(ECM REQUIRED NO_MODULE)
-- 
2.50.1