summaryrefslogtreecommitdiff
path: root/modules/vorbis
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2017-09-25 00:22:58 -0400
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2017-09-25 14:36:30 -0400
commit45a9a680a3cf54d4f43c46c3ec43a108ee62b834 (patch)
treeb7c005cadf0fa5754ea35d150208217eaeb49cce /modules/vorbis
parentffab67b8daea8e3379824105439eba8226b72fde (diff)
Use BoolVariable for third-party options.
Diffstat (limited to 'modules/vorbis')
-rw-r--r--modules/vorbis/SCsub4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/vorbis/SCsub b/modules/vorbis/SCsub
index d3e4f7e15a..9d2d0feb92 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['builtin_libvorbis'] != 'no'):
+if env['builtin_libvorbis']:
thirdparty_dir = "#thirdparty/libvorbis/"
thirdparty_sources = [
#"analysis.c",
@@ -42,7 +42,7 @@ if (env['builtin_libvorbis'] != 'no'):
env_vorbis.Append(CPPPATH=[thirdparty_dir])
# also requires libogg
- if (env['builtin_libogg'] != 'no'):
+ if env['builtin_libogg']:
env_vorbis.Append(CPPPATH=["#thirdparty/libogg"])
# Godot source files