From: Christian Lamparter Date: Thu, 29 Sep 2022 19:53:34 +0000 (+0200) Subject: build: set cmake min version to 3.0 to fix deprecation warning X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=c6aba752781925611b833549fa62964a84d144b5;hp=d5f22e1d784eb4eb2adafc58b1a88bd3a25f3262;p=carl9170fw.git build: set cmake min version to 3.0 to fix deprecation warning | Compatibility with CMake < 2.8.12 will be removed from a future version of | CMake. | | Update the VERSION argument value or use a ... suffix to tell | CMake that the project does not need compatibility with older versions. Signed-off-by: Christian Lamparter --- diff --git a/CMakeLists.txt b/CMakeLists.txt index fb18f15..fad2ff4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.4) +cmake_minimum_required(VERSION 3.0) project(carl9170) diff --git a/carlfw/CMakeLists.txt b/carlfw/CMakeLists.txt index 1f04afa..1c1b551 100644 --- a/carlfw/CMakeLists.txt +++ b/carlfw/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.0) project(carl9170.fw) diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt index 5b341fc..afe880f 100644 --- a/config/CMakeLists.txt +++ b/config/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.4) +cmake_minimum_required(VERSION 3.0) project(config) diff --git a/minifw/CMakeLists.txt b/minifw/CMakeLists.txt index e34d29b..f73cdc0 100644 --- a/minifw/CMakeLists.txt +++ b/minifw/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.0) project(miniboot.fw) diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 13262d6..7e225ea 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.0) project(tools) diff --git a/tools/lib/CMakeLists.txt b/tools/lib/CMakeLists.txt index 2d139e6..39c6c5c 100644 --- a/tools/lib/CMakeLists.txt +++ b/tools/lib/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.0) project(libcarlfw) diff --git a/tools/src/CMakeLists.txt b/tools/src/CMakeLists.txt index 637a788..bfea46c 100644 --- a/tools/src/CMakeLists.txt +++ b/tools/src/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.0) project(tools) diff --git a/tools/src/eeprom_fix b/tools/src/eeprom_fix new file mode 100755 index 0000000..0b75f5b Binary files /dev/null and b/tools/src/eeprom_fix differ