meson: define inc_gbm as empty if not otherwise assigned

Otherwise this could be undefined in the egl directory.

Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Acked-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
Dylan Baker 2018-01-03 12:33:55 -08:00
parent a0a764cde5
commit 5fcadaec80
1 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,8 @@ subdir('loader')
subdir('glx')
if with_gbm
subdir('gbm')
else
inc_gbm = []
endif
if with_egl
subdir('egl')