summaryrefslogtreecommitdiff
path: root/modules/theora
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-11-03 00:23:55 +0100
committerRémi Verschelde <rverschelde@gmail.com>2016-11-03 07:45:08 +0100
commitcc95d4448c6005c3007c8460f09b8be1595eb3c0 (patch)
tree91d5e77f5ee1eb3883b1d03e683286bb12948c31 /modules/theora
parentcc54189911e47ef1d432521df7d976b818123b1e (diff)
scons: Reorder options for clarity
Also prefix all thirdparty-related toggles with `builtin`.
Diffstat (limited to 'modules/theora')
-rw-r--r--modules/theora/SCsub6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/theora/SCsub b/modules/theora/SCsub
index ff34b85879..2de4d29640 100644
--- a/modules/theora/SCsub
+++ b/modules/theora/SCsub
@@ -6,7 +6,7 @@ Import('env_modules')
env_theora = env_modules.Clone()
# Thirdparty source files
-if (env["libtheora"] != "system"): # builtin
+if (env['builtin_libtheora'] != 'no'):
thirdparty_dir = "#thirdparty/libtheora/"
thirdparty_sources = [
#"analyze.c",
@@ -74,9 +74,9 @@ if (env["libtheora"] != "system"): # builtin
env_theora.Append(CPPPATH=[thirdparty_dir])
# also requires libogg and libvorbis
- if (env["libogg"] != "system"): # builtin
+ if (env['builtin_libogg'] != 'no'):
env_theora.Append(CPPPATH=["#thirdparty/libogg"])
- if (env["libvorbis"] != "system"): # builtin
+ if (env['builtin_libvorbis'] != 'no'):
env_theora.Append(CPPPATH=["#thirdparty/libvorbis"])
# Godot source files