gentoo-ebuilds/media-libs/freeglut/files/freeglut-3.6.0-cmake4.patch
Matt Turner 1d64c33a68
media-libs/freeglut: Add patch to fix build with cmake-4
Closes: https://bugs.gentoo.org/951617
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2025-04-23 11:10:03 -04:00

24 lines
648 B
Diff

From 2294389397912c9a6505a88221abb7dca0a4fb79 Mon Sep 17 00:00:00 2001
From: John Tsiombikas <nuclear@member.fsf.org>
Date: Thu, 20 Mar 2025 09:28:29 +0200
Subject: [PATCH] Let cmake know we are aware there are newer versions and we
don't care
Closes issue #207
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git ./CMakeLists.txt ./CMakeLists.txt
index 791771e7..e5903ef4 100644
--- ./CMakeLists.txt
+++ ./CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 3.1 FATAL_ERROR)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1...3.5 FATAL_ERROR)
PROJECT(freeglut LANGUAGES C)
#######################
--
2.49.0