mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
SCons: Fix build with GDScript LSP disabled
Fixes #83947.
(cherry picked from commit bfd7a50036)
This commit is contained in:
@@ -17,3 +17,5 @@ if env["tools"]:
|
||||
# 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"])
|
||||
|
||||
Reference in New Issue
Block a user