1
0
mirror of https://github.com/godotengine/godot synced 2024-07-08 20:42:15 +00:00

SCons: Fix build with GDScript LSP disabled

Fixes #83947.
This commit is contained in:
Rémi Verschelde 2023-10-30 15:28:34 +01:00
parent 5dc10b5aa5
commit bfd7a50036
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -19,6 +19,8 @@ if env.editor_build:
# Using a define in the disabled case, to avoid having an extra define
# in regular builds where all modules are enabled.
env_gdscript.Append(CPPDEFINES=["GDSCRIPT_NO_LSP"])
# Also needed in main env to unexpose --lsp-port option.
env.Append(CPPDEFINES=["GDSCRIPT_NO_LSP"])
if env["tests"]: