diff --git a/lib/libvideostitch_OpenCL.cmake b/lib/libvideostitch_OpenCL.cmake
index 4efdacf579fde8adefa80cbe2c96630ba2955e41..9ed5650ae500fe2f8f5970f484974ebb745d1484 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 )