meson.build: update the required GCC/clang versions
This commit is contained in:
parent
3229da48e3
commit
bdc5602244
|
@ -98,10 +98,10 @@ version_cxx = vcs_tag(input: 'src/GitVersion.cxx', output: 'GitVersion.cxx')
|
||||||
compiler = meson.get_compiler('cpp')
|
compiler = meson.get_compiler('cpp')
|
||||||
c_compiler = meson.get_compiler('c')
|
c_compiler = meson.get_compiler('c')
|
||||||
|
|
||||||
if compiler.get_id() == 'gcc' and compiler.version().version_compare('<8')
|
if compiler.get_id() == 'gcc' and compiler.version().version_compare('<10')
|
||||||
warning('Your GCC version is too old. You need at least version 8.')
|
warning('Your GCC version is too old. You need at least version 10.')
|
||||||
elif compiler.get_id() == 'clang' and compiler.version().version_compare('<7')
|
elif compiler.get_id() == 'clang' and compiler.version().version_compare('<11')
|
||||||
warning('Your clang version is too old. You need at least version 7.')
|
warning('Your clang version is too old. You need at least version 11.')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
version_conf = configuration_data()
|
version_conf = configuration_data()
|
||||||
|
|
Loading…
Reference in New Issue