mirror of
https://github.com/godotengine/godot.git
synced 2025-01-22 10:32:54 -05:00
SCons: Specify optional dependencies for modules
This commit is contained in:
parent
8c6dbff6d3
commit
f1f33169d9
4 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
def can_build(env, platform):
|
||||
env.module_add_dependencies("gltf", ["csg", "gridmap"], True)
|
||||
return not env["disable_3d"]
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
def can_build(env, platform):
|
||||
env.module_add_dependencies("navigation", ["csg", "gridmap"], True)
|
||||
return not env["disable_3d"]
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
def can_build(env, platform):
|
||||
env.module_add_dependencies("text_server_adv", ["freetype", "msdfgen", "svg"], True)
|
||||
return True
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
def can_build(env, platform):
|
||||
env.module_add_dependencies("text_server_fb", ["freetype", "msdfgen", "svg"], True)
|
||||
return True
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue