diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2016-11-03 00:23:55 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2016-11-03 07:45:08 +0100 |
commit | cc95d4448c6005c3007c8460f09b8be1595eb3c0 (patch) | |
tree | 91d5e77f5ee1eb3883b1d03e683286bb12948c31 /modules/vorbis | |
parent | cc54189911e47ef1d432521df7d976b818123b1e (diff) |
scons: Reorder options for clarity
Also prefix all thirdparty-related toggles with `builtin`.
Diffstat (limited to 'modules/vorbis')
-rw-r--r-- | modules/vorbis/SCsub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/vorbis/SCsub b/modules/vorbis/SCsub index 3bd092105e..d3e4f7e15a 100644 --- a/modules/vorbis/SCsub +++ b/modules/vorbis/SCsub @@ -6,7 +6,7 @@ Import('env_modules') env_vorbis = env_modules.Clone() # Thirdparty source files -if (env["libvorbis"] != "system"): # builtin +if (env['builtin_libvorbis'] != 'no'): thirdparty_dir = "#thirdparty/libvorbis/" thirdparty_sources = [ #"analysis.c", @@ -42,7 +42,7 @@ if (env["libvorbis"] != "system"): # builtin env_vorbis.Append(CPPPATH=[thirdparty_dir]) # also requires libogg - if (env["libogg"] != "system"): # builtin + if (env['builtin_libogg'] != 'no'): env_vorbis.Append(CPPPATH=["#thirdparty/libogg"]) # Godot source files |