Merge pull request #56551 from godotengine/revert-55203-scons-warn-unknown-variables

This commit is contained in:
Rémi Verschelde 2022-01-06 14:04:16 +01:00 committed by GitHub
commit 069ce08fea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -300,13 +300,6 @@ opts.Update(env_base)
env_base["platform"] = selected_platform # Must always be re-set after calling opts.Update().
Help(opts.GenerateHelpText(env_base))
# Detect and print a warning listing unknown SCons variables to ease troubleshooting.
unknown = opts.UnknownVariables()
if unknown:
print("WARNING: Unknown SCons variables were passed and will be ignored:")
for item in unknown.items():
print(" " + item[0] + "=" + item[1])
# add default include paths
env_base.Prepend(CPPPATH=["#"])