summaryrefslogtreecommitdiff
path: root/graphics/jasper/files/patch-build-cmake-modules-JasOpenGL.cmake
blob: dada8cd39136a92b7f2ca7a977b77ef1c4abb381 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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)