ports/graphics/jasper/files/patch-build-cmake-modules-JasOpenGL.cmake
Sunpoet Po-Chuan Hsieh eeeed9e282 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
2020-09-12 14:58:19 +00:00

11 lines
355 B
CMake

--- 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)