diff --git a/src/gallium/meson.build b/src/gallium/meson.build index 62c8533..67decf4 100644 --- a/src/gallium/meson.build +++ b/src/gallium/meson.build @@ -126,9 +126,11 @@ libgallium = static_library( include_directories : [ inc_gallium, inc_configuration ], + dependencies: mesa_dep, ) gallium_dep = declare_dependency( link_with: libgallium, - include_directories: [inc_gallium, inc_configuration] + include_directories: [inc_gallium, inc_configuration], + dependencies: mesa_dep, ) diff --git a/src/mesa/meson.build b/src/mesa/meson.build new file mode 100644 index 0000000..e132510 --- /dev/null +++ b/src/mesa/meson.build @@ -0,0 +1,23 @@ +# Copyright 2021 Google LLC +# SPDX-License-Identifier: MIT + +inc_mesa = include_directories('.') + +files_mesa = files( +) + +deps_mesa = [ +] + +libmesa = static_library( + 'mesa', + files_mesa, + include_directories: inc_mesa, + dependencies: deps_mesa, +) + +mesa_dep = declare_dependency( + link_with: libmesa, + include_directories: inc_mesa, + dependencies: deps_mesa, +) diff --git a/src/meson.build b/src/meson.build index ac8df76..16c645d 100644 --- a/src/meson.build +++ b/src/meson.build @@ -21,6 +21,7 @@ # OTHER DEALINGS IN THE SOFTWARE. # +subdir('mesa') subdir('gallium') virgl_sources = [