aboutsummaryrefslogtreecommitdiff
path: root/modules/tinyexr/config.py
blob: 9cbf22cdc626378e617df79f34bf77a6e9a0d356 (plain)
1
2
3
4
5
6
7
8
9
10
11
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")