meson: add si_driinfo.h in libgallium_dri
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Tue, 21 Nov 2017 11:38:27 +0000 (12:38 +0100)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Wed, 22 Nov 2017 11:35:38 +0000 (12:35 +0100)
v2: generate target conditionally (Dylan)

Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/gallium/targets/dri/meson.build

index c591b75d03794292309a33c563272c43db699488..595fd0a1a5404f6ac5d786a39027b97d6c20d022 100644 (file)
@@ -63,6 +63,7 @@ if with_gallium_radeonsi
     libamd_common,
   ]
   gallium_dri_drivers += 'radeonsi_dri.so'
+  gallium_dri_sources += [si_driinfo_h]
 endif
 if with_gallium_nouveau
   gallium_dri_c_args += '-DGALLIUM_NOUVEAU'