X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meson.build;fp=meson.build;h=3b92cca82faef6ef62c7ec303c040162dfe143a3;hb=612ffac8382b8e51a5b30c09c8cf649dd15877e7;hp=292308a3e22877a82ae08056f401c867395dd35f;hpb=71f98b4252498f48b64f12d069d18f5a490658cf;p=src%2Fagl-compositor.git diff --git a/meson.build b/meson.build index 292308a..3b92cca 100644 --- a/meson.build +++ b/meson.build @@ -171,17 +171,17 @@ if libweston_dep.found() if not meson.is_cross_build() if not prefix_path.contains('/usr') dir_path_x11_backend = join_paths(prefix_path, 'include', libweston_version, 'libweston', 'backend-x11.h') - dir_path_headless_backend = join_paths(prefix_path, 'include', libweston_version, 'libweston', 'backend-headless.h') + dir_path_wayland_backend = join_paths(prefix_path, 'include', libweston_version, 'libweston', 'backend-wayland.h') dir_path_rdp_backend = join_paths(prefix_path, 'include', libweston_version, 'libweston', 'backend-rdp.h') else dir_path_x11_backend = join_paths(libweston_version, 'libweston', 'backend-x11.h') - dir_path_headless_backend = join_paths(libweston_version, 'libweston', 'backend-headless.h') - dir_path_rdp = join_paths(libweston_version, 'libweston', 'backend-rdp.h') + dir_path_wayland_backend = join_paths(libweston_version, 'libweston', 'backend-wayland.h') + dir_path_rdp_backend = join_paths(libweston_version, 'libweston', 'backend-rdp.h') endif else message('Building with cross environment') dir_path_x11_backend = join_paths(libweston_version, 'libweston', 'backend-x11.h') - dir_path_headless_backend = join_paths(libweston_version, 'libweston', 'backend-headless.h') + dir_path_wayland_backend = join_paths(libweston_version, 'libweston', 'backend-wayland.h') dir_path_rdp_backend = join_paths(libweston_version, 'libweston', 'backend-rdp.h') endif @@ -191,9 +191,9 @@ if libweston_dep.found() message('Building with X11 backend') endif - if cc.has_header(dir_path_headless_backend) - config_h.set('HAVE_BACKEND_HEADLESS', 1) - message('Building with headless backend') + if cc.has_header(dir_path_wayland_backend) + config_h.set('HAVE_BACKEND_WAYLAND', 1) + message('Building with Wayland backend') endif if cc.has_header(dir_path_rdp_backend)