toolchain.py minimum CMake 3.10 to avoid deprecation warning

ref: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9875
pull/13392/merge
scivision 2 months ago committed by Eli Schwartz
parent 2291b3f27f
commit 4d1623078f
  1. 2
      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)})
''')

Loading…
Cancel
Save