godot/modules/tinyexr/config.py

12 lines
275 B
Python

def can_build(platform):
return True
def configure(env):
# Tools only, disabled for non-tools
# TODO: Find a cleaner way to achieve that
if (env["tools"] == "no"):
env["module_tinyexr_enabled"] = "no"
env.disabled_modules.append("tinyexr")