Skip to content

Commit

Permalink
Merge pull request godotengine#101327 from Repiteo/scons/specify-modu…
Browse files Browse the repository at this point in the history
…le-optional-dependencies

SCons: Specify optional dependencies for modules
  • Loading branch information
akien-mga committed Jan 9, 2025
2 parents 6729462 + f1f3316 commit cb483e5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/gltf/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
def can_build(env, platform):
env.module_add_dependencies("gltf", ["csg", "gridmap"], True)
return not env["disable_3d"]


Expand Down
1 change: 1 addition & 0 deletions modules/navigation/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
def can_build(env, platform):
env.module_add_dependencies("navigation", ["csg", "gridmap"], True)
return not env["disable_3d"]


Expand Down
1 change: 1 addition & 0 deletions modules/text_server_adv/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
def can_build(env, platform):
env.module_add_dependencies("text_server_adv", ["freetype", "msdfgen", "svg"], True)
return True


Expand Down
1 change: 1 addition & 0 deletions modules/text_server_fb/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
def can_build(env, platform):
env.module_add_dependencies("text_server_fb", ["freetype", "msdfgen", "svg"], True)
return True


Expand Down

0 comments on commit cb483e5

Please sign in to comment.