diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-30 15:28:34 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-30 15:28:34 +0100 |
commit | bfd7a5003653f3f61bb0607a792461aa69c71504 (patch) | |
tree | 1e899aa15fe1e44e6c7a414cc8e83f034854cd77 /modules/gdscript/SCsub | |
parent | 5dc10b5aa506c4287c6ff87367efe031bc1a7d82 (diff) | |
download | redot-engine-bfd7a5003653f3f61bb0607a792461aa69c71504.tar.gz |
SCons: Fix build with GDScript LSP disabled
Fixes #83947.
Diffstat (limited to 'modules/gdscript/SCsub')
-rw-r--r-- | modules/gdscript/SCsub | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/SCsub b/modules/gdscript/SCsub index 1dc4768186..61accd4fc9 100644 --- a/modules/gdscript/SCsub +++ b/modules/gdscript/SCsub @@ -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"]: |