aboutsummaryrefslogtreecommitdiff
path: root/ports/openimageio/fix_libraw.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/openimageio/fix_libraw.patch')
-rw-r--r--ports/openimageio/fix_libraw.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/openimageio/fix_libraw.patch b/ports/openimageio/fix_libraw.patch
new file mode 100644
index 000000000..32e974fcb
--- /dev/null
+++ b/ports/openimageio/fix_libraw.patch
@@ -0,0 +1,13 @@
+diff --git a/src/raw.imageio/CMakeLists.txt b/src/raw.imageio/CMakeLists.txt
+index 81a0ff5..23326a0 100644
+--- a/src/raw.imageio/CMakeLists.txt
++++ b/src/raw.imageio/CMakeLists.txt
+@@ -5,7 +5,7 @@
+ if (LIBRAW_FOUND)
+ add_oiio_plugin (rawinput.cpp
+ INCLUDE_DIRS ${LibRaw_INCLUDE_DIR}
+- LINK_LIBRARIES ${LibRaw_r_LIBRARIES}
++ LINK_LIBRARIES ${LibRaw_LIBRARIES}
+ DEFINITIONS "-DUSE_LIBRAW=1")
+ else ()
+ message (WARNING "Raw plugin will not be built")