summaryrefslogtreecommitdiff
path: root/graphics/opencv2/files/patch-cmake__OpenCVFindLibsGUI.cmake
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-10-03 17:47:08 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-10-03 17:47:08 +0000
commitba3ffd9b120f634f530959fca3707d2937d3e5e5 (patch)
tree9a595c7cf960f87901403bde2fb7e4175befb3a5 /graphics/opencv2/files/patch-cmake__OpenCVFindLibsGUI.cmake
parentgraphics/opencv: update to 2.4.13.1 (diff)
graphics/opencv: add suffix to make room for 3.x series
To avoid confusion, the main port is to track the latest release. Whether to rename includes/libraries as well making it possible to install 2.x and 3.x side-by-side remains to be investigated. PR: 210505 (for tracking) Inspired by: PkgSrc
Notes
Notes: svn path=/head/; revision=423216
Diffstat (limited to 'graphics/opencv2/files/patch-cmake__OpenCVFindLibsGUI.cmake')
-rw-r--r--graphics/opencv2/files/patch-cmake__OpenCVFindLibsGUI.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/opencv2/files/patch-cmake__OpenCVFindLibsGUI.cmake b/graphics/opencv2/files/patch-cmake__OpenCVFindLibsGUI.cmake
new file mode 100644
index 000000000000..cfe9392d3e21
--- /dev/null
+++ b/graphics/opencv2/files/patch-cmake__OpenCVFindLibsGUI.cmake
@@ -0,0 +1,14 @@
+--- ./cmake/OpenCVFindLibsGUI.cmake.orig 2013-12-10 09:20:59.000000000 -0500
++++ ./cmake/OpenCVFindLibsGUI.cmake 2013-12-10 09:22:40.000000000 -0500
+@@ -56,10 +56,9 @@
+ if(OPENGL_FOUND)
+ set(HAVE_OPENGL TRUE)
+ list(APPEND OPENCV_LINKER_LIBS ${OPENGL_LIBRARIES})
++ ocv_include_directories(${OPENGL_INCLUDE_DIR})
+ if(QT_QTOPENGL_FOUND)
+ set(HAVE_QT_OPENGL TRUE)
+- else()
+- ocv_include_directories(${OPENGL_INCLUDE_DIR})
+ endif()
+ endif()
+ endif()