diff options
| author | Juan Linietsky | 2015-04-07 20:22:58 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-04-07 20:22:58 -0300 |
| commit | b135cdbf05312211a81ad3405f154082d1c059e3 (patch) | |
| tree | 39fb2b99b64e2dfc7d9403c61bb33eff418bf4ee /SConstruct | |
| parent | e336306e9176bb3e9e459a63344ef54c1e57c9cd (diff) | |
| parent | 4fa71a6ee0ea72289d9e647eb0aeea59cf8a7192 (diff) | |
| download | godot-b135cdbf05312211a81ad3405f154082d1c059e3.tar.gz godot-b135cdbf05312211a81ad3405f154082d1c059e3.tar.zst godot-b135cdbf05312211a81ad3405f154082d1c059e3.zip | |
Diffstat (limited to 'SConstruct')
| -rw-r--r-- | SConstruct | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 922dc64fe..537bb0e39 100644 --- a/SConstruct +++ b/SConstruct @@ -111,6 +111,7 @@ opts.Add('jpg','JPG Image loader support (yes/no)','yes') opts.Add('webp','WEBP Image loader support (yes/no)','yes') opts.Add('dds','DDS Texture loader support (yes/no)','yes') opts.Add('pvr','PVR (PowerVR) Texture loader support (yes/no)','yes') +opts.Add('etc1','etc1 Texture compression support (yes/no)','yes') opts.Add('builtin_zlib','Use built-in zlib (yes/no)','yes') opts.Add('openssl','Use OpenSSL (yes/no/builtin)','no') opts.Add('musepack','Musepack Audio (yes/no)','yes') @@ -311,6 +312,8 @@ if selected_platform in platform_list: if (env['colored']=='yes'): methods.colored(sys,env) + if (env['etc1']=='yes'): + env.Append(CPPFLAGS=['-DETC1_ENABLED']) Export('env') |
