build: set cmake min version to 3.0 to fix deprecation warning
authorChristian Lamparter <chunkeey@gmail.com>
Thu, 29 Sep 2022 19:53:34 +0000 (21:53 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 29 Sep 2022 19:53:34 +0000 (21:53 +0200)
| Compatibility with CMake < 2.8.12 will be removed from a future version of
| CMake.
|
| Update the VERSION argument <min> value or use a ...<max> suffix to tell
| CMake that the project does not need compatibility with older versions.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
CMakeLists.txt
carlfw/CMakeLists.txt
config/CMakeLists.txt
minifw/CMakeLists.txt
tools/CMakeLists.txt
tools/lib/CMakeLists.txt
tools/src/CMakeLists.txt
tools/src/eeprom_fix [new file with mode: 0755]

index fb18f157efcb9e6192cf51bdb8b4f9e48dd8b445..fad2ff4209f991d726f1391e6892da9fc4d52f57 100644 (file)
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.4)
+cmake_minimum_required(VERSION 3.0)
 
 project(carl9170)
 
index 1f04afa9f0e462f589de1a63bc2929032e3bb93d..1c1b55142285b8119c3db4eb49a4cd1c4101062f 100644 (file)
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.0)
 
 project(carl9170.fw)
 
index 5b341fcd213d2235f700d6e1189807e17a3c7119..afe880f10bdf579b9baa7e99b7ed8776407c102d 100644 (file)
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.4)
+cmake_minimum_required(VERSION 3.0)
 
 project(config)
 
index e34d29b2a0a4f99973aefa91f19230aad486f8ad..f73cdc0f86ddfeeca7339de6ed448424b910d91e 100644 (file)
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.0)
 
 project(miniboot.fw)
 
index 13262d695de8597a11e49747474d32453eeaa510..7e225eab52d90d822cf5620106b7473f360e4736 100644 (file)
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.0)
 
 project(tools)
 
index 2d139e6884242800645159cc550629678f3406bf..39c6c5cc6d03ee87348da49294b332ff30a6aef0 100644 (file)
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.0)
 
 project(libcarlfw)
 
index 637a788575ab453c056d435035886d4631a9968c..bfea46ce7e177d18a1c2cb75bc8a988ed8856a44 100644 (file)
@@ -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 (executable)
index 0000000..0b75f5b
Binary files /dev/null and b/tools/src/eeprom_fix differ