Files
gentoo/media-libs/libcue/files/libcue-2.3.0-cmake4.patch
Andreas Sturmlechner 67d125dc03 media-libs/libcue: update EAPI 7 -> 8
Closes: https://bugs.gentoo.org/957239
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-09-29 17:57:45 +02:00

35 lines
825 B
Diff

From bc0ee8957153e64c712f529e28ab7a509b1b95b5 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Sun, 28 Sep 2025 22:12:39 +0200
Subject: [PATCH] Raise CMake minimum version to 3.10
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
CMakeLists.txt | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2cc46a5..b6ab271 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,10 +1,14 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 3.10 FATAL_ERROR)
+
+if (POLICY CMP0145)
+ cmake_policy(SET CMP0145 OLD) # since 3.27
+endif()
+
SET(PACKAGE libcue)
SET(PACKAGE_NAME libcue)
SET(PACKAGE_VERSION 2.3.0)
SET(PACKAGE_SOVERSION 2)
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)
-
PROJECT(libcue C)
include(GNUInstallDirs)
--
2.51.0