forked from enlightenment/efl
meson: fix a potentionally unexpected behavior
lidrm is defined in different locations, which causes a unexpected behavior. this patch fixes it in advance. Differential Revision: https://phab.enlightenment.org/D7567
This commit is contained in:
parent
ee39639294
commit
2ce9744754
|
@ -4,22 +4,19 @@ subdir('shm')
|
|||
|
||||
#common dri packages
|
||||
libtbm = dependency('libtbm', required: false)
|
||||
libdrm = dependency('libdrm', required: false)
|
||||
|
||||
if libtbm.found() == true and libdrm.found() == true
|
||||
if libtbm.found() == true
|
||||
libdri2 = dependency('libdri2', required: false)
|
||||
if libdri2.found()
|
||||
subdir('x11_dri2')
|
||||
endif
|
||||
endif
|
||||
|
||||
if libtbm.found() == true and libdrm.found() == true
|
||||
xshmfence = dependency('xshmfence', required: false)
|
||||
xcb = dependency('xcb', required: false)
|
||||
x11_xcb = dependency('x11_xcb', required: false)
|
||||
xcb_sync = dependency('xcb_sync', required: false)
|
||||
xcb_dri3 = dependency('xkb_dri3', required: false)
|
||||
if xshmfence.found() == true and xcb.found() == true and x11_xcb.found() and xcb_sync.found() and xkb_dri3.found()
|
||||
subdir('x11_dri3')
|
||||
subdir('x11_dri3')
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue