diff options
author | Dylan Baker <[email protected]> | 2017-09-28 13:59:04 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2017-10-09 13:42:44 -0700 |
commit | db9788420d4bc7b4a61eab38c0093af94274d00d (patch) | |
tree | ba8f7410552fa5103526c06f56313d0af99a57f1 /meson.build | |
parent | a47c525f3281a2753180e076c7e9b7772aff8f06 (diff) |
meson: Add support for configuring dri drivers directory.
v2: - drop with_ from dri_drivers_path variable (Eric A)
v3: - Move HAVE_X11_PLATFORM to the proper patch (Eric A)
Signed-off-by: Dylan Baker <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 86e1cc98f81..716976ccfc6 100644 --- a/meson.build +++ b/meson.build @@ -42,6 +42,11 @@ with_asm = get_option('asm') with_appledri = false with_windowsdri = false +dri_drivers_path = get_option('dri-drivers-path') +if dri_drivers_path == '' + dri_drivers_path = join_paths(get_option('libdir'), 'dri') +endif + with_gles1 = get_option('gles1') with_gles2 = get_option('gles2') with_opengl = get_option('opengl') |