In Source/cmake/FindGStreamer.cmake there is a find_library(${_component_prefix}_LIBRARIES. If a platform does not provide gstreamer-gl libraries then GSTREAMER_GL_LIBRARIES will be set to GSTREAMER_GL_LIBRARIES-NOTFOUND and then in Source/WebCore/PlatformWPE.cmake the list(APPEND WebCore_LIBRARIES will append GSTREAMER_GL_LIBRARIES-NOTFOUND to the list of WebCore libraries, and this will not be found and there will be a cmake error.
In Source/cmake/FindGStreamer.cmake there is a find_library(${_component_prefix}_LIBRARIES. If a platform does not provide gstreamer-gl libraries then GSTREAMER_GL_LIBRARIES will be set to GSTREAMER_GL_LIBRARIES-NOTFOUND and then in Source/WebCore/PlatformWPE.cmake the list(APPEND WebCore_LIBRARIES will append GSTREAMER_GL_LIBRARIES-NOTFOUND to the list of WebCore libraries, and this will not be found and there will be a cmake error.