Merge pull request #45634 from Calinou/fix-scons-compilation-db-comment

Fix incorrect version requirement in the SCons compilation DB comment
This commit is contained in:
Rémi Verschelde 2021-02-01 20:23:59 +01:00 committed by GitHub
commit 1db16f08d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -308,7 +308,7 @@ if selected_platform in platform_list:
else:
env = env_base.Clone()
# Compilation DB requires SCons 3.1.1+.
# Generating the compilation DB (`compile_commands.json`) requires SCons 4.0.0 or later.
from SCons import __version__ as scons_raw_version
scons_ver = env._get_major_minor_revision(scons_raw_version)