From 1974869b5feb8c52779a5f99bac8849e955ea469 Mon Sep 17 00:00:00 2001 From: Jarcode Date: Sun, 1 Sep 2019 19:37:37 -0700 Subject: [PATCH] workaround old meson build issues, see #131 --- meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 1205734..9b0110b 100644 --- a/meson.build +++ b/meson.build @@ -80,8 +80,6 @@ if get_option('standalone') language: 'c') endif -glava_headers = include_directories('glava') - add_project_arguments( '-DGLAVA_VERSION="'+glava_version+'"', '-DSHADER_INSTALL_PATH="'+shaderdir+'/glava"', @@ -101,7 +99,7 @@ executable( 'glava', sources: run_command('find', 'glava-cli', '-type', 'f', '-name', '*.c', '-print').stdout().strip().split('\n'), link_with: libglava, - include_directories: glava_headers, + c_args: '-I' + meson.source_root() + '/glava', install: true )