meson: Fix building with -Ddga=false
We forget to assign a value to xf86dgaproto_dep if -Ddga=false, which causes the meson build to fail: meson.build:448:0: ERROR: Unknown variable "xf86dgaproto_dep". A full log can be found at /home/lyudess/build/xserver/meson-logs/meson-log.txt FAILED: build.ninja So, just set it to an empty dependency to fix that. Signed-off-by: Lyude Paul <lyude@redhat.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
a9a5bd0020
commit
b84e7f1c22
|
@ -407,6 +407,7 @@ if not build_xv
|
|||
endif
|
||||
|
||||
build_dga = false
|
||||
xf86dgaproto_dep = dependency('', required: false)
|
||||
if get_option('dga') == 'auto'
|
||||
xf86dgaproto_dep = dependency('xf86dgaproto', version: '>= 2.0.99.1', required: false)
|
||||
if xf86dgaproto_dep.found()
|
||||
|
|
Loading…
Reference in New Issue