Fix incorrect version requirement in the SCons compilation DB comment

This commit is contained in:
Hugo Locurcio 2021-02-01 17:09:42 +01:00
parent 0f4e2cd40c
commit 9479bfe5f5
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

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)