summaryrefslogtreecommitdiff
path: root/modules/tinyexr/config.py
blob: 2e4b96a6b09258ec4ff2155ae429b2c57bc61d9c (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 (env["tools"] == "no"):
        env["module_tinyexr_enabled"] = "no"
        env.disabled_modules.append("tinyexr")