summaryrefslogtreecommitdiff
path: root/graphics/asymptote/cudareflect/tinyexr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/cudareflect/tinyexr.cc')
-rw-r--r--graphics/asymptote/cudareflect/tinyexr.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/asymptote/cudareflect/tinyexr.cc b/graphics/asymptote/cudareflect/tinyexr.cc
new file mode 100644
index 0000000000..37d45de42d
--- /dev/null
+++ b/graphics/asymptote/cudareflect/tinyexr.cc
@@ -0,0 +1,15 @@
+/**
+* @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
+#define TINYEXR_USE_PIZ 1
+
+#include "tinyexr/tinyexr.h" \ No newline at end of file