OSDN Git Service

build: fix meson build
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 14 Feb 2018 13:50:08 +0000 (14:50 +0100)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 13 Mar 2018 01:50:15 +0000 (09:50 +0800)
When X11 is found, the variable assigned is HAVE_X11 but the used
one is WITH_X11, failing to define it in the config header.

meson.build

index d62e239..0f18662 100644 (file)
@@ -69,7 +69,7 @@ if get_option('with_x11') != 'no'
     version : libva_version,
     required : get_option('with_x11') == 'yes')
 
-  HAVE_X11 = libva_x11_dep.found()
+  WITH_X11 = libva_x11_dep.found()
 endif
 
 WITH_WAYLAND = false