workaround old meson build issues, see #131
This commit is contained in:
@@ -80,8 +80,6 @@ if get_option('standalone')
|
|||||||
language: 'c')
|
language: 'c')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
glava_headers = include_directories('glava')
|
|
||||||
|
|
||||||
add_project_arguments(
|
add_project_arguments(
|
||||||
'-DGLAVA_VERSION="'+glava_version+'"',
|
'-DGLAVA_VERSION="'+glava_version+'"',
|
||||||
'-DSHADER_INSTALL_PATH="'+shaderdir+'/glava"',
|
'-DSHADER_INSTALL_PATH="'+shaderdir+'/glava"',
|
||||||
@@ -101,7 +99,7 @@ executable(
|
|||||||
'glava',
|
'glava',
|
||||||
sources: run_command('find', 'glava-cli', '-type', 'f', '-name', '*.c', '-print').stdout().strip().split('\n'),
|
sources: run_command('find', 'glava-cli', '-type', 'f', '-name', '*.c', '-print').stdout().strip().split('\n'),
|
||||||
link_with: libglava,
|
link_with: libglava,
|
||||||
include_directories: glava_headers,
|
c_args: '-I' + meson.source_root() + '/glava',
|
||||||
install: true
|
install: true
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user