Skip to content

Commit

Permalink
Fix build when the jsonrpc module is disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Dec 23, 2023
1 parent db08e3c commit d4d4a73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/gdscript/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ if env["tools"]:
else:
# 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"])
env_gdscript.Append(CPPDEFINES=["GDSCRIPT_NO_LSP"])
# Also needed in main env to unexpose --lsp-port option.
env.Append(CPPDEFINES=["GDSCRIPT_NO_LSP"])

0 comments on commit d4d4a73

Please sign in to comment.