mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
gl: Fix configure error when libdrm is a subproject
When libdrm is a subproject it cannot be used in a configure time check: ERROR: Dependencies must be external dependencies Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7761>
This commit is contained in:
parent
dc39ebcd74
commit
625d8890cb
1 changed files with 1 additions and 1 deletions
|
@ -566,7 +566,7 @@ if need_platform_egl != 'no'
|
|||
gl_platform_deps += egl_dep
|
||||
glconf.set('GST_GL_HAVE_PLATFORM_EGL', 1)
|
||||
|
||||
if cc.has_header('drm_fourcc.h', dependencies: libdrm_dep)
|
||||
if libdrm_dep.type_name() == 'internal' or cc.has_header('drm_fourcc.h', dependencies: libdrm_dep)
|
||||
gl_misc_deps += [allocators_dep, libdrm_dep]
|
||||
glconf.set('GST_GL_HAVE_DMABUF', 1)
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue