Files
packages/multimedia/v4l2tools/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch
Christian Marangi 92775f85fc v4l2tools: add pending patch for CMake >= 4.0 support
Add pending patch for v4l2tools for CMake >= 4.0 support.

Also backport a patch for the v4l2wrapper library.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-11-25 00:57:10 +01:00

26 lines
783 B
Diff

From 8c515a3e00fb062c1aa860a26314a49eb08d8658 Mon Sep 17 00:00:00 2001
From: Christian Marangi <ansuelsmth@gmail.com>
Date: Tue, 25 Nov 2025 00:23:42 +0100
Subject: [PATCH] CMakeLists: update min version to 3.10 for CMake >= 4.0
support
Update minimum version of CMake to 3.10 for CMake >= 4.0 version
support.
New CMake require 3.5 as the minimum version with that increased to 3.10
in the next CMake release.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.0)
+cmake_minimum_required(VERSION 3.10)
# set project name from current directory
get_filename_component(BASENAME ${CMAKE_SOURCE_DIR} NAME)