File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- From 9d49b6da04e66e8fcc27cc809474fe6460007c74 Mon Sep 17 00:00:00 2001
1+ From 55f90bbd61881edaef80f0751264b8ca4d0cec43 Mon Sep 17 00:00:00 2001
22From: qianlongxu <qianlongxu@gmail.com>
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
1010diff --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
Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments