mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 21:23:32 +00:00
examples, tests: replace backslashes with forward slashes for portability (#880)
* Replace backslashes with forward slashes * Downgrade to older meson syntax
This commit is contained in:
parent
9737dd4a89
commit
a04349ac71
1 changed files with 3 additions and 2 deletions
|
@ -6,8 +6,9 @@ project('thorvg',
|
|||
|
||||
config_h = configuration_data()
|
||||
|
||||
add_project_arguments('-DEXAMPLE_DIR="@0@/src/examples/images"'.format(meson.current_source_dir()),
|
||||
'-DTEST_DIR="@0@/test/images"'.format(meson.current_source_dir()),
|
||||
src_dir = '/'.join(meson.current_source_dir().split('\\'))
|
||||
add_project_arguments('-DEXAMPLE_DIR="@0@/src/examples/images"'.format(src_dir),
|
||||
'-DTEST_DIR="@0@/test/images"'.format(src_dir),
|
||||
language : 'cpp')
|
||||
|
||||
config_h.set_quoted('THORVG_VERSION_STRING', meson.project_version())
|
||||
|
|
Loading…
Add table
Reference in a new issue