summaryrefslogtreecommitdiff
path: root/indra/cmake/TinyEXR.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/TinyEXR.cmake')
-rw-r--r--indra/cmake/TinyEXR.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/cmake/TinyEXR.cmake b/indra/cmake/TinyEXR.cmake
new file mode 100644
index 0000000000..c3053b8149
--- /dev/null
+++ b/indra/cmake/TinyEXR.cmake
@@ -0,0 +1,9 @@
+# -*- cmake -*-
+include(Prebuilt)
+
+if (NOT USESYSTEMLIBS)
+use_prebuilt_binary(tinyexr)
+endif ()
+
+set(TINYEXR_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/tinyexr)
+