summaryrefslogtreecommitdiff
path: root/graphics/jasper/files/patch-build-cmake-modules-JasOpenGL.cmake
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-09-12 14:58:19 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-09-12 14:58:19 +0000
commiteeeed9e282acd96937808dd7a204428dbe98af64 (patch)
treecd4f8ca36d14fe3cf6fd208d85f7f3fabf3120f6 /graphics/jasper/files/patch-build-cmake-modules-JasOpenGL.cmake
parentdevel/py-wlc: Update to 1.8 (diff)
Update to 2.0.20
Changes: https://github.com/jasper-software/jasper/blob/master/NEWS PR: 248912 Exp-run by: antoine Security: 6842ac7e-d250-11ea-b9b7-08002728f74c MFH: 2020Q3
Notes
Notes: svn path=/head/; revision=548374
Diffstat (limited to 'graphics/jasper/files/patch-build-cmake-modules-JasOpenGL.cmake')
-rw-r--r--graphics/jasper/files/patch-build-cmake-modules-JasOpenGL.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/jasper/files/patch-build-cmake-modules-JasOpenGL.cmake b/graphics/jasper/files/patch-build-cmake-modules-JasOpenGL.cmake
new file mode 100644
index 000000000000..dada8cd39136
--- /dev/null
+++ b/graphics/jasper/files/patch-build-cmake-modules-JasOpenGL.cmake
@@ -0,0 +1,11 @@
+--- build/cmake/modules/JasOpenGL.cmake.orig 2020-09-05 14:52:22 UTC
++++ build/cmake/modules/JasOpenGL.cmake
+@@ -4,7 +4,7 @@
+
+ if (JAS_ENABLE_OPENGL)
+ set(OpenGL_GL_PREFERENCE GLVND)
+- find_package(OpenGL ${JAS_REQUIRED})
++ find_package(OpenGL ${JAS_OPENGL_REQUIRED})
+ message("OpenGL library found: ${OPENGL_FOUND}")
+ else()
+ set(OPENGL_FOUND false)