gentoo-ebuilds/dev-cpp/websocketpp/files/websocketpp-0.8.2-cmake4.patch
Andreas Sturmlechner 7a0aa6b903
dev-cpp/websocketpp: Fix build w/ cmake-4
Closes: https://bugs.gentoo.org/953936
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-05-21 21:21:10 +02:00

23 lines
715 B
Diff

From deb0a334471362608958ce59a6b0bcd3e5b73c24 Mon Sep 17 00:00:00 2001
From: Alexander Bock <mail@alexanderbock.eu>
Date: Mon, 31 Mar 2025 22:04:07 +0200
Subject: [PATCH] Update minimum required CMake version to comply with CMake
4.0
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4f93e243a..92990c7dc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@
############ Setup project and cmake
# Minimum cmake requirement. We should require a quite recent
# cmake for the dependency find macros etc. to be up to date.
-cmake_minimum_required (VERSION 2.8.8)
+cmake_minimum_required (VERSION 3.10)
############ Paths