From 6d20a16075bfbb6fe563fb42ec399a9161643f16 Mon Sep 17 00:00:00 2001
From: jerem <jeremy.tellaa@tanker.io>
Date: Fri, 23 Aug 2019 18:21:51 +0200
Subject: [PATCH] fix(cmake): use new FindGLEW API

---
 lib/libvideostitch_OpenCL.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libvideostitch_OpenCL.cmake b/lib/libvideostitch_OpenCL.cmake
index 4efdacf..9ed5650 100644
--- a/lib/libvideostitch_OpenCL.cmake
+++ b/lib/libvideostitch_OpenCL.cmake
@@ -117,6 +117,6 @@ endif(DISABLE_OPENCL_SPIR)
 
 # different names on different implementations of find_package(OpenCL)
 vs_lib_link_libraries("PUBLIC_OPENCL" ${OpenCL_LIBRARIES})
-vs_lib_link_libraries("OPENCL" ${OpenGL_LIBRARIES} ${OPENGL_LIBRARIES} ${GLEW_LIBRARIES} ${GLEW})
+vs_lib_link_libraries("OPENCL" ${OpenGL_LIBRARIES} ${OPENGL_LIBRARIES} GLEW::GLEW)
 
 set(BACKEND_OBJECTS_OPENCL )
-- 
2.18.1