summaryrefslogtreecommitdiff
path: root/graphics/asymptote/tinyexr.cc
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-12-28 03:01:00 +0000
committerNorbert Preining <norbert@preining.info>2021-12-28 03:01:00 +0000
commitecdf859b6ce481abfd530425dcf6f0f764bd0001 (patch)
tree13bc161dc046876ac6c92fce5f9f5034ba9aa573 /graphics/asymptote/tinyexr.cc
parent790995b7e79697514364450bf9c04f1b8d500838 (diff)
CTAN sync 202112280300
Diffstat (limited to 'graphics/asymptote/tinyexr.cc')
-rw-r--r--graphics/asymptote/tinyexr.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/asymptote/tinyexr.cc b/graphics/asymptote/tinyexr.cc
new file mode 100644
index 0000000000..c23ec679ef
--- /dev/null
+++ b/graphics/asymptote/tinyexr.cc
@@ -0,0 +1,14 @@
+/**
+* @file tinyexr.cc
+* @brief An implementation object file for tinyexr mandated by the repository.
+*
+* On Windows, use vcpkg to install zlib instead of nuget. On Linux, this should work naturally
+*/
+
+#include <zlib.h>
+
+#define TINYEXR_IMPLEMENTATION
+#define TINYEXR_USE_MINIZ 0
+#define TINYEXR_USE_THREAD 1
+
+#include "cudareflect/tinyexr/tinyexr.h" \ No newline at end of file