mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
23 lines
665 B
Diff
23 lines
665 B
Diff
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 C)
|
|
|
|
set(CMAKE_C_STANDARD 99)
|