Skip to content

Commit cb3bf39

Browse files
committed
cmake minimum required 3.10
1 parent 30da88b commit cb3bf39

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

patches/yuv/0001-fix-cmake-build-error.patch renamed to patches/yuv/0001-fix-build-error.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
From 9d49b6da04e66e8fcc27cc809474fe6460007c74 Mon Sep 17 00:00:00 2001
1+
From 55f90bbd61881edaef80f0751264b8ca4d0cec43 Mon Sep 17 00:00:00 2001
22
From: qianlongxu <[email protected]>
3-
Date: Mon, 8 Dec 2025 11:12:10 +0800
4-
Subject: [PATCH] fix cmake build error
3+
Date: Mon, 8 Dec 2025 12:48:09 +0800
4+
Subject: [PATCH] fix build error
55

66
---
77
CMakeLists.txt | 13 +++++++++++--
88
1 file changed, 11 insertions(+), 2 deletions(-)
99

1010
diff --git a/CMakeLists.txt b/CMakeLists.txt
11-
index 9abfa74..fcebbdb 100644
11+
index 9abfa74..b0feb35 100644
1212
--- a/CMakeLists.txt
1313
+++ b/CMakeLists.txt
1414
@@ -3,8 +3,9 @@
1515
# Run with -DTEST=ON to build unit tests
1616

1717
PROJECT ( YUV C CXX ) # "C" is required even for C++ projects
1818
-CMAKE_MINIMUM_REQUIRED( VERSION 2.8.12 )
19-
+CMAKE_MINIMUM_REQUIRED( VERSION 3...4 )
19+
+CMAKE_MINIMUM_REQUIRED( VERSION 3.10)
2020
OPTION( UNIT_TEST "Built unit tests" OFF )
2121
+OPTION( BINARY "Built binary" OFF )
2222

tools/ios.toolchain.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
# command.
155155
#
156156

157-
cmake_minimum_required(VERSION 3.8.0)
157+
cmake_minimum_required(VERSION 3.10)
158158

159159
# CMake invokes the toolchain file twice during the first build, but only once during subsequent rebuilds.
160160
# NOTE: To improve single-library build-times, provide the flag "OS_SINGLE_BUILD" as a build argument.

0 commit comments

Comments
 (0)