summaryrefslogtreecommitdiff
path: root/modules/tinyexr/config.py
blob: e12bb398cebc266a68b86f4f14a988149468c17c (plain)
1
2
3
4
5
6
7
8
9
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'] = False
        env.disabled_modules.append("tinyexr")