aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2023-02-22 11:50:25 +1000
committerRechi <Rechi@users.noreply.github.com>2023-02-22 11:50:25 +1000
commitb86fd82e15040564fa96f50d292407e0485edfec (patch)
tree030c471af9d0cf7b0ee383be1c06d42130296c4e
parentc79fb48f80f6c4c68e0d66e07f67c9a5232428c3 (diff)
[cmake] set minimum required CMake version to 3.12 everywhere
-rw-r--r--cmake/addons/CMakeLists.txt2
-rw-r--r--cmake/addons/bootstrap/CMakeLists.txt2
-rw-r--r--cmake/addons/depends/CMakeLists.txt2
-rw-r--r--cmake/addons/depends/windows/CMakeLists.txt2
-rw-r--r--cmake/scripts/common/AddonHelpers.dox2
-rw-r--r--tools/depends/target/ffmpeg/CMakeLists.txt2
-rw-r--r--xbmc/addons/kodi-dev-kit/CMakeLists.txt2
7 files changed, 7 insertions, 7 deletions
diff --git a/cmake/addons/CMakeLists.txt b/cmake/addons/CMakeLists.txt
index c1313d7458..74328e9158 100644
--- a/cmake/addons/CMakeLists.txt
+++ b/cmake/addons/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.5)
+cmake_minimum_required(VERSION 3.12)
project(kodi-addons)
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})
diff --git a/cmake/addons/bootstrap/CMakeLists.txt b/cmake/addons/bootstrap/CMakeLists.txt
index 66b7e3d16c..1e0ac9e78b 100644
--- a/cmake/addons/bootstrap/CMakeLists.txt
+++ b/cmake/addons/bootstrap/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.12)
project(kodi-addons-bootstrap)
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})
diff --git a/cmake/addons/depends/CMakeLists.txt b/cmake/addons/depends/CMakeLists.txt
index 831e0ed74c..baba20bc60 100644
--- a/cmake/addons/depends/CMakeLists.txt
+++ b/cmake/addons/depends/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.12)
project(kodi-addons-depends)
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})
diff --git a/cmake/addons/depends/windows/CMakeLists.txt b/cmake/addons/depends/windows/CMakeLists.txt
index c8739c08ec..ad2c7d3569 100644
--- a/cmake/addons/depends/windows/CMakeLists.txt
+++ b/cmake/addons/depends/windows/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.12)
project(kodi-addons-depends-windows)
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})
diff --git a/cmake/scripts/common/AddonHelpers.dox b/cmake/scripts/common/AddonHelpers.dox
index 522e0e724c..489e33b7ed 100644
--- a/cmake/scripts/common/AddonHelpers.dox
+++ b/cmake/scripts/common/AddonHelpers.dox
@@ -14,7 +14,7 @@ process the construction.
<b>Here's a minimal example of the addon used for CMakeLists.txt:</b>
~~~~~~~~~~~~~{.cmake}
-cmake_minimum_required(VERSION 3.5)
+cmake_minimum_required(VERSION 3.12)
project(example.addon)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR})
diff --git a/tools/depends/target/ffmpeg/CMakeLists.txt b/tools/depends/target/ffmpeg/CMakeLists.txt
index 8ae97b98cb..2b300a59ca 100644
--- a/tools/depends/target/ffmpeg/CMakeLists.txt
+++ b/tools/depends/target/ffmpeg/CMakeLists.txt
@@ -1,6 +1,6 @@
project(ffmpeg)
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.12)
if(ENABLE_CCACHE AND CCACHE_PROGRAM)
set(ffmpeg_conf "--cc=${CCACHE_PROGRAM} ${CMAKE_C_COMPILER}"
diff --git a/xbmc/addons/kodi-dev-kit/CMakeLists.txt b/xbmc/addons/kodi-dev-kit/CMakeLists.txt
index 4b539b24f6..565d537727 100644
--- a/xbmc/addons/kodi-dev-kit/CMakeLists.txt
+++ b/xbmc/addons/kodi-dev-kit/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.5)
+cmake_minimum_required(VERSION 3.12)
project(kodi-dev-kit)
include(cmake/test/abi-interface-test.cmake)