summaryrefslogtreecommitdiff
path: root/modules/opus
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/opus
parentcc54189911e47ef1d432521df7d976b818123b1e (diff)
scons: Reorder options for clarity
Also prefix all thirdparty-related toggles with `builtin`.
Diffstat (limited to 'modules/opus')
-rw-r--r--modules/opus/SCsub4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/opus/SCsub b/modules/opus/SCsub
index e116fc4607..491380c826 100644
--- a/modules/opus/SCsub
+++ b/modules/opus/SCsub
@@ -6,7 +6,7 @@ Import('env_modules')
env_opus = env_modules.Clone()
# Thirdparty source files
-if (env["opus"] != "system"): # builtin
+if (env['builtin_opus'] != 'no'):
thirdparty_dir = "#thirdparty/opus/"
thirdparty_sources = [
@@ -208,7 +208,7 @@ if (env["opus"] != "system"): # builtin
env_opus.Append(CPPPATH=[thirdparty_dir + "/" + dir for dir in thirdparty_include_paths])
# also requires libogg
- if (env["libogg"] != "system"): # builtin
+ if (env['builtin_libogg'] != 'no'):
env_opus.Append(CPPPATH=["#thirdparty/libogg"])
# Module files