diff options
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2017-09-25 00:22:58 -0400 |
---|---|---|
committer | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2017-09-25 14:36:30 -0400 |
commit | 45a9a680a3cf54d4f43c46c3ec43a108ee62b834 (patch) | |
tree | b7c005cadf0fa5754ea35d150208217eaeb49cce /modules/opus | |
parent | ffab67b8daea8e3379824105439eba8226b72fde (diff) |
Use BoolVariable for third-party options.
Diffstat (limited to 'modules/opus')
-rw-r--r-- | modules/opus/SCsub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/opus/SCsub b/modules/opus/SCsub index 4d3053c7ec..fee06bd267 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['builtin_opus'] != 'no'): +if env['builtin_opus']: thirdparty_dir = "#thirdparty/opus/" thirdparty_sources = [ @@ -209,7 +209,7 @@ if (env['builtin_opus'] != 'no'): env_opus.Append(CPPPATH=[thirdparty_dir + "/" + dir for dir in thirdparty_include_paths]) # also requires libogg - if (env['builtin_libogg'] != 'no'): + if env['builtin_libogg']: env_opus.Append(CPPPATH=["#thirdparty/libogg"]) # Module files |