Fix incorrect version requirement in the SCons compilation DB comment

(cherry picked from commit 9479bfe5f5)
This commit is contained in:
Hugo Locurcio 2021-02-01 17:09:42 +01:00 committed by Rémi Verschelde
parent 5506143522
commit c344bf88c6
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -304,7 +304,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)