Skip to content

Commit d2154cf

Browse files
committed
fix Compatibility with CMake < 3.10
1 parent 7c9ce2b commit d2154cf

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
From d0c91284ba07282bb0d7f5300786c9529042ad04 Mon Sep 17 00:00:00 2001
2+
From: qianlongxu <[email protected]>
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.
6+
7+
---
8+
CMakeLists.txt | 2 +-
9+
1 file changed, 1 insertion(+), 1 deletion(-)
10+
11+
diff --git a/CMakeLists.txt b/CMakeLists.txt
12+
index 84497df..0fc5864 100644
13+
--- a/CMakeLists.txt
14+
+++ b/CMakeLists.txt
15+
@@ -3,7 +3,7 @@
16+
# Run with -DTEST=ON to build unit tests
17+
18+
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 )
21+
OPTION( UNIT_TEST "Built unit tests" OFF )
22+
OPTION( BINARY "Built binary" OFF )
23+
24+
--
25+
2.50.1 (Apple Git-155)
26+

0 commit comments

Comments
 (0)