Fix add_global_arguments call that was using the old syntax. Closes #213.
parent
5788f47952
commit
6af21dd20e
1 changed files with 1 additions and 1 deletions
@ -1,7 +1,7 @@ |
||||
project('endian check', 'c') |
||||
|
||||
if host.is_big_endian() |
||||
add_global_arguments('c', '-DIS_BE') |
||||
add_global_arguments('-DIS_BE', language : 'c') |
||||
endif |
||||
|
||||
test('endiantest', executable('prog', 'prog.c')) |
||||
|
Loading…
Reference in new issue