Skip to content

Commit 79465b2

Browse files
committed
【libyuv】update patch
1 parent 5c74e26 commit 79465b2

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

patches/yuv/0003-fix-Compatibility-with-CMake-3.10-will-be-removed-fr.patch renamed to patches/yuv/0003-No-cmake_minimum_required-command-is-present.patch

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1-
From d0c91284ba07282bb0d7f5300786c9529042ad04 Mon Sep 17 00:00:00 2001
1+
From 749767e0e435d0e3a67f1b576d2489432eb814ab Mon Sep 17 00:00:00 2001
22
From: qianlongxu <qianlongxu@gmail.com>
3-
Date: Mon, 8 Dec 2025 10:08:01 +0800
4-
Subject: [PATCH] fix Compatibility with CMake < 3.10 will be removed from a
5-
future version of CMake.
3+
Date: Mon, 8 Dec 2025 10:57:38 +0800
4+
Subject: [PATCH] No cmake_minimum_required command is present
65

76
---
87
CMakeLists.txt | 2 +-
98
1 file changed, 1 insertion(+), 1 deletion(-)
109

1110
diff --git a/CMakeLists.txt b/CMakeLists.txt
12-
index 84497df..0fc5864 100644
11+
index 65f2d73..fcebbdb 100644
1312
--- a/CMakeLists.txt
1413
+++ b/CMakeLists.txt
1514
@@ -3,7 +3,7 @@
1615
# Run with -DTEST=ON to build unit tests
1716

1817
PROJECT ( YUV C CXX ) # "C" is required even for C++ projects
19-
-CMAKE_MINIMUM_REQUIRED( VERSION 2.8.12 )
20-
+# CMAKE_MINIMUM_REQUIRED( VERSION 2.8.12 )
18+
-# CMAKE_MINIMUM_REQUIRED( VERSION 2.8.12 )
19+
+CMAKE_MINIMUM_REQUIRED( VERSION 3...4 )
2120
OPTION( UNIT_TEST "Built unit tests" OFF )
2221
OPTION( BINARY "Built binary" OFF )
2322

0 commit comments

Comments
 (0)