workaround old meson build issues, see #131

This commit is contained in:
Jarcode
2019-09-01 19:37:37 -07:00
parent 69f25eb44b
commit 1974869b5f

View File

@@ -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
)