diff options
| author | Elliott Sales de Andrade | 2017-09-25 00:27:32 -0400 |
|---|---|---|
| committer | Elliott Sales de Andrade | 2017-09-25 14:36:30 -0400 |
| commit | 5be675eb0332ccf660a81df51701146997ef9fcb (patch) | |
| tree | 22ff68fa1ea7b92a263b46449f306e2e8f12bc4a /platform/iphone | |
| parent | 45a9a680a3cf54d4f43c46c3ec43a108ee62b834 (diff) | |
| download | godot-5be675eb0332ccf660a81df51701146997ef9fcb.tar.gz godot-5be675eb0332ccf660a81df51701146997ef9fcb.tar.zst godot-5be675eb0332ccf660a81df51701146997ef9fcb.zip | |
Use BoolVariable for module options.
Diffstat (limited to 'platform/iphone')
| -rw-r--r-- | platform/iphone/detect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/detect.py b/platform/iphone/detect.py index 8a44114a5..d763b4b6c 100644 --- a/platform/iphone/detect.py +++ b/platform/iphone/detect.py @@ -151,7 +151,7 @@ def configure(env): env.Append(CPPFLAGS=['-DIPHONE_ENABLED', '-DUNIX_ENABLED', '-DGLES2_ENABLED', '-DMPC_FIXED_POINT']) # TODO: Move that to opus module's config - if("module_opus_enabled" in env and env["module_opus_enabled"] != "no"): + if 'module_opus_enabled' in env and env['module_opus_enabled']: env.opus_fixed_point = "yes" if (env["arch"] == "arm"): env.Append(CFLAGS=["-DOPUS_ARM_OPT"]) |
