X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meson.build;h=9040f481e5136d105e78f3185d1abd2af924376a;hb=refs%2Fchanges%2F90%2F24490%2F5;hp=ccb649f10597fe4c134952b03ef2f102195784ed;hpb=79dacfa4f3d3093df3155ee0633837a5836899c9;p=src%2Fagl-compositor.git diff --git a/meson.build b/meson.build index ccb649f..9040f48 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('agl-compositor', 'c', - version: '0.0.17', + version: '0.0.18', default_options: [ 'warning_level=3', 'c_std=gnu99', @@ -10,7 +10,8 @@ project('agl-compositor', ) config_h = configuration_data() -agl_compositor_version = '0.0.17' +agl_compositor_version = '0.0.18' +libweston_version = 'libweston-8' pkgconfig = import('pkgconfig') cc = meson.get_compiler('c') @@ -107,7 +108,7 @@ endif dir_data = join_paths(prefix_path, get_option('datadir')) dir_data_agl_compositor = join_paths('agl-compositor', 'protocols') dir_data_pc = join_paths(dir_data, 'pkgconfig') -libweston_dep = dependency('libweston-8') +libweston_dep = dependency(libweston_version) deps_libweston = [ dependency('wayland-server'), @@ -138,9 +139,9 @@ srcs_agl_compositor = [ # includes that can't be detected via pkg-config and passed via dependencies. if libweston_dep.found() if not prefix_path.contains('/usr') - dir_path_x11_backend = join_paths(prefix_path, 'include', 'libweston-7', 'libweston', 'backend-x11.h') + dir_path_x11_backend = join_paths(prefix_path, 'include', libweston_version, 'libweston', 'backend-x11.h') else - dir_path_x11_backend = join_paths('libweston-7', 'libweston', 'backend-x11.h') + dir_path_x11_backend = join_paths(libweston_version, 'libweston', 'backend-x11.h') endif # do the test