virtualx-engine/modules/tinyexr/config.py
Rémi Verschelde cb59236ce9 Disable etc2comp and tinyexr modules on non-tools build
They are not necessary in such configuration, and require C++11
and (on Android) the STL.

Fixes #9273.
2017-06-30 18:16:38 +02:00

11 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")