ldacBT: allow build with cmake-4.0.0

This commit is contained in:
Rudi Heitbaum 2025-04-14 14:03:17 +00:00
parent 2096003827
commit fd583318fe

View File

@ -0,0 +1,22 @@
From 7c6911cd9dc4459807c345f693bcbeafb4307059 Mon Sep 17 00:00:00 2001
From: Rudi Heitbaum <rudi@heitbaum.com>
Date: Tue, 15 Apr 2025 00:01:39 +1000
Subject: [PATCH] Allow build with CMake 4.0.0
use min...max syntax to allow build with newer cmake.
ref: https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7739887..ecbf6da 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.0)
+cmake_minimum_required(VERSION 3.0...3.10)
project(libldac
LANGUAGES C
VERSION 2.0.2.3)