From: Eric Engestrom Date: Tue, 21 Nov 2017 15:07:11 +0000 (+0000) Subject: meson: reorder subdirs to avoid directly including more than one level X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d16af7355900703514d95411b222e6e028252d66;p=mesa.git meson: reorder subdirs to avoid directly including more than one level Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker --- diff --git a/src/mapi/glapi/meson.build b/src/mapi/glapi/meson.build index f2012644785..14ffa68ad0d 100644 --- a/src/mapi/glapi/meson.build +++ b/src/mapi/glapi/meson.build @@ -18,6 +18,8 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +subdir('gen') + inc_glapi = include_directories('.') static_glapi_files = [] diff --git a/src/mapi/meson.build b/src/mapi/meson.build index ce94ee4b27a..afdde3dd8cc 100644 --- a/src/mapi/meson.build +++ b/src/mapi/meson.build @@ -25,10 +25,10 @@ files_mapi_util = files( 'u_execmem.h', ) +subdir('glapi') if with_shared_glapi subdir('shared-glapi') endif -subdir('glapi') if with_gles1 subdir('es1api') endif diff --git a/src/meson.build b/src/meson.build index 00bbaa8989c..db36866df63 100644 --- a/src/meson.build +++ b/src/meson.build @@ -45,7 +45,6 @@ sha1_h = custom_target( subdir('gtest') subdir('util') -subdir('mapi/glapi/gen') subdir('mapi') # TODO: opengl subdir('compiler')