summaryrefslogtreecommitdiff
path: root/graphics/openimageio/patches/patch-src_libOpenImageIO_CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/openimageio/patches/patch-src_libOpenImageIO_CMakeLists.txt')
-rw-r--r--graphics/openimageio/patches/patch-src_libOpenImageIO_CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/openimageio/patches/patch-src_libOpenImageIO_CMakeLists.txt b/graphics/openimageio/patches/patch-src_libOpenImageIO_CMakeLists.txt
new file mode 100644
index 00000000000..71bda3da2b6
--- /dev/null
+++ b/graphics/openimageio/patches/patch-src_libOpenImageIO_CMakeLists.txt
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_libOpenImageIO_CMakeLists.txt,v 1.1 2016/02/17 04:49:47 dbj Exp $
+
+--- src/libOpenImageIO/CMakeLists.txt.orig 2015-06-11 17:25:58.000000000 +0000
++++ src/libOpenImageIO/CMakeLists.txt
+@@ -231,7 +231,7 @@ endif ()
+ # Include OpenCV if using it
+ if (OpenCV_FOUND)
+ include_directories (${OpenCV_INCLUDE_DIR})
+- target_link_libraries (OpenImageIO opencv_core opencv_highgui)
++ target_link_libraries (OpenImageIO ${OpenCV_LIBS})
+ endif ()
+
+ # Include OpenSSL if using it