From 4d1623078fa4c217c8c4e779839121988e0b7be4 Mon Sep 17 00:00:00 2001 From: scivision Date: Sun, 6 Oct 2024 00:50:09 -0400 Subject: [PATCH] toolchain.py minimum CMake 3.10 to avoid deprecation warning ref: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9875 --- mesonbuild/cmake/toolchain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)}) ''')