godot/modules/tinyexr/config.py
2017-09-25 14:36:02 -04:00

12 lines
269 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 not env['tools']:
env["module_tinyexr_enabled"] = "no"
env.disabled_modules.append("tinyexr")