Skip to content

Commit

Permalink
SCons: Fix build with GDScript LSP disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored and GuybrushThreepwood-GitHub committed Jan 27, 2024
1 parent 4c5c66f commit f6fe0fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/gdscript/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -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"]:
Expand Down

0 comments on commit f6fe0fa

Please sign in to comment.