mirror of
https://github.com/openwrt/openwrt.git
synced 2025-12-21 19:14:28 +04:00
treewide: edit local CMakeLists.txt to be compatible with cmake 4.x
Edit CMakeLists.txt to fulfill cmake 4.0 requirement that cmake_minimum_required is now at least 3.5 and in future 3.10. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Link: https://github.com/openwrt/openwrt/pull/20265 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
committed by
Christian Marangi
parent
3969335815
commit
9bd2c55a33
@@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 2.8.1)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
project(mapcalc C)
|
project(mapcalc C)
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 2.6)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
PROJECT(fritz-tools C)
|
PROJECT(fritz-tools C)
|
||||||
ADD_DEFINITIONS(-Wall -Werror --std=gnu99 -Wmissing-declarations)
|
ADD_DEFINITIONS(-Wall -Werror --std=gnu99 -Wmissing-declarations)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 2.6)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
PROJECT(jboot-tools C)
|
PROJECT(jboot-tools C)
|
||||||
ADD_DEFINITIONS(-Wall -Werror --std=gnu99 -Wmissing-declarations)
|
ADD_DEFINITIONS(-Wall -Werror --std=gnu99 -Wmissing-declarations)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
# Copyright (C) 2022 Eneas Ulir de Queiroz
|
# Copyright (C) 2022 Eneas Ulir de Queiroz
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
project(uencrypt LANGUAGES C)
|
project(uencrypt LANGUAGES C)
|
||||||
|
|
||||||
option(USE_WOLFSSL "Use WolfSSL as crypto provider" OFF)
|
option(USE_WOLFSSL "Use WolfSSL as crypto provider" OFF)
|
||||||
|
|||||||
Reference in New Issue
Block a user