summaryrefslogtreecommitdiff
path: root/mesonbuild/cmake
diff options
context:
space:
mode:
authorscivision <scivision@users.noreply.github.com>2024-10-06 00:50:09 -0400
committerEli Schwartz <eschwartz93@gmail.com>2024-10-11 12:26:27 -0400
commit4d1623078fa4c217c8c4e779839121988e0b7be4 (patch)
tree1948214e97a7b02b3510f9470334146e079df050 /mesonbuild/cmake
parent2291b3f27f932a7c09bd5ce28be0d5dbe4f3612f (diff)
downloadmeson-4d1623078fa4c217c8c4e779839121988e0b7be4.tar.gz
toolchain.py minimum CMake 3.10 to avoid deprecation warning
ref: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9875
Diffstat (limited to 'mesonbuild/cmake')
-rw-r--r--mesonbuild/cmake/toolchain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/cmake/toolchain.py b/mesonbuild/cmake/toolchain.py
index 7d73a7cea..43f262605 100644
--- a/mesonbuild/cmake/toolchain.py
+++ b/mesonbuild/cmake/toolchain.py
@@ -212,7 +212,7 @@ class CMakeToolchain:
languages = list(self.compilers.keys())
lang_ids = [language_map.get(x, x.upper()) for x in languages]
cmake_content = dedent(f'''
- cmake_minimum_required(VERSION 3.7)
+ cmake_minimum_required(VERSION 3.10)
project(CompInfo {' '.join(lang_ids)})
''')