SCons: Fix build with GDScript LSP disabled
Fixes #83947.
(cherry picked from commit bfd7a50036
)
This commit is contained in:
parent
43fa189927
commit
634f9523c2
1 changed files with 2 additions and 0 deletions
|
@ -17,3 +17,5 @@ if env["tools"]:
|
||||||
# Using a define in the disabled case, to avoid having an extra define
|
# Using a define in the disabled case, to avoid having an extra define
|
||||||
# in regular builds where all modules are enabled.
|
# in regular builds where all modules are enabled.
|
||||||
env_gdscript.Append(CPPDEFINES=["GDSCRIPT_NO_LSP"])
|
env_gdscript.Append(CPPDEFINES=["GDSCRIPT_NO_LSP"])
|
||||||
|
# Also needed in main env to unexpose --lsp-port option.
|
||||||
|
env.Append(CPPDEFINES=["GDSCRIPT_NO_LSP"])
|
||||||
|
|
Loading…
Reference in a new issue