diff options
| author | Elliott Sales de Andrade | 2017-09-25 00:22:58 -0400 |
|---|---|---|
| committer | Elliott Sales de Andrade | 2017-09-25 14:36:30 -0400 |
| commit | 45a9a680a3cf54d4f43c46c3ec43a108ee62b834 (patch) | |
| tree | b7c005cadf0fa5754ea35d150208217eaeb49cce /drivers | |
| parent | ffab67b8daea8e3379824105439eba8226b72fde (diff) | |
| download | godot-45a9a680a3cf54d4f43c46c3ec43a108ee62b834.tar.gz godot-45a9a680a3cf54d4f43c46c3ec43a108ee62b834.tar.zst godot-45a9a680a3cf54d4f43c46c3ec43a108ee62b834.zip | |
Use BoolVariable for third-party options.
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/SCsub | 2 | ||||
| -rw-r--r-- | drivers/png/SCsub | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/SCsub b/drivers/SCsub index bdc7dcbb2..195f7ec43 100644 --- a/drivers/SCsub +++ b/drivers/SCsub @@ -4,7 +4,7 @@ Import('env') env.drivers_sources = [] -if ("builtin_zlib" in env and env["builtin_zlib"] == "yes"): +if 'builtin_zlib' in env and env['builtin_zlib']: SConscript("zlib/SCsub") # OS drivers diff --git a/drivers/png/SCsub b/drivers/png/SCsub index 6684e36b2..39480351a 100644 --- a/drivers/png/SCsub +++ b/drivers/png/SCsub @@ -5,7 +5,7 @@ Import('env') env_png = env.Clone() # Thirdparty source files -if (env['builtin_libpng'] != 'no'): +if env['builtin_libpng']: thirdparty_dir = "#thirdparty/libpng/" thirdparty_sources = [ "png.c", |
