diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-31 20:15:53 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-31 20:15:53 +0100 |
| commit | 8c7f836c19d8838a6ef8ba51a565498a87cbe544 (patch) | |
| tree | ff42fb0e77b8b86ea0c8133456927e3c3a76679f | |
| parent | f1f92bdb30f119cac2ab922b03b54b302c72d75b (diff) | |
| parent | bfd7a5003653f3f61bb0607a792461aa69c71504 (diff) | |
| download | redot-engine-8c7f836c19d8838a6ef8ba51a565498a87cbe544.tar.gz | |
Merge pull request #84191 from akien-mga/scons-gdscript-fix-no-lsp-build
SCons: Fix build with GDScript LSP disabled
| -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"]: |
