meson: define inc_gbm as empty if not otherwise assigned
authorDylan Baker <dylan@pnwbakers.com>
Wed, 3 Jan 2018 20:33:55 +0000 (12:33 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 11 Jan 2018 23:40:02 +0000 (15:40 -0800)
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>
src/meson.build

index 5fc14acb0c77dd36e3667a8ef43fa4db7fd041b8..730b2ff6e41bfede417aaadd8b34374cbfa44628 100644 (file)
@@ -67,6 +67,8 @@ subdir('loader')
 subdir('glx')
 if with_gbm
   subdir('gbm')
 subdir('glx')
 if with_gbm
   subdir('gbm')
+else
+  inc_gbm = []
 endif
 if with_egl
   subdir('egl')
 endif
 if with_egl
   subdir('egl')