mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +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/7380>
This commit is contained in:
parent
5e90f3eff7
commit
9a87ce418b
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