summaryrefslogtreecommitdiff
path: root/modules/tinyexr/SCsub
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-11-19 11:17:49 +0100
committerRémi Verschelde <rverschelde@gmail.com>2021-11-19 11:25:14 +0100
commit46d3effa994b344462a86f83ed3095247dc9e1bc (patch)
tree7e5ce7ed72ea36ecfae083cb11da2d298e28e1a7 /modules/tinyexr/SCsub
parenta777f01052161f0ea3b1344e605ac4222498395c (diff)
tinyexr: Sync with upstream 1.0.1
Removes miniz as a bundled dependency, relies on our own zlib instead. Includes a couple commits ahead of `v1.0.1` tag to fix MinGW builds.
Diffstat (limited to 'modules/tinyexr/SCsub')
-rw-r--r--modules/tinyexr/SCsub3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/tinyexr/SCsub b/modules/tinyexr/SCsub
index 30bde96fb4..bf9242cc16 100644
--- a/modules/tinyexr/SCsub
+++ b/modules/tinyexr/SCsub
@@ -20,6 +20,9 @@ env_tinyexr.Prepend(CPPPATH=[thirdparty_dir])
# Enable threaded loading with C++11.
env_tinyexr.Append(CPPDEFINES=["TINYEXR_USE_THREAD"])
+# miniz is an external dependency, we could add it but we can instead rely
+# on our existing bundled zlib.
+env_tinyexr.Append(CPPDEFINES=[("TINYEXR_USE_MINIZ", 0)])
env_thirdparty = env_tinyexr.Clone()
env_thirdparty.disable_warnings()