mirror of
https://github.com/red031000/nitrogfx.git
synced 2025-06-18 21:25:38 -04:00
Merge pull request #3 from Nomura-RH/master
Fix cross-compiling in Meson with 'native' option on
This commit is contained in:
commit
dca044e6c1
@ -1,6 +1,7 @@
|
||||
project('nitrogfx', 'c')
|
||||
|
||||
native = get_option('native')
|
||||
install = native and meson.is_cross_build() ? false : true
|
||||
|
||||
libpng_dep = dependency('libpng', native: native)
|
||||
|
||||
@ -20,5 +21,5 @@ nitrogfx_exe = executable('nitrogfx',
|
||||
],
|
||||
dependencies: libpng_dep,
|
||||
native: native,
|
||||
install: true
|
||||
install: install
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user