update meson.build
This commit is contained in:
parent
f8cae11e3d
commit
34c9d0f6da
|
@ -4,6 +4,7 @@ project('lite',
|
||||||
|
|
||||||
c_compiler = meson.get_compiler('c')
|
c_compiler = meson.get_compiler('c')
|
||||||
sdl2_dep = c_compiler.find_library('SDL2')
|
sdl2_dep = c_compiler.find_library('SDL2')
|
||||||
|
m_dep = c_compiler.find_library('m')
|
||||||
args = '-Wall -O3 -g -std=gnu11 -fno-strict-aliasing '
|
args = '-Wall -O3 -g -std=gnu11 -fno-strict-aliasing '
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
|
@ -53,5 +54,5 @@ executable('lite',
|
||||||
sources,
|
sources,
|
||||||
cpp_args: args + '-DLUA_USE_POSIX',
|
cpp_args: args + '-DLUA_USE_POSIX',
|
||||||
include_directories: include_directories('src'),
|
include_directories: include_directories('src'),
|
||||||
dependencies: sdl2_dep,
|
dependencies: [sdl2_dep,m_dep],
|
||||||
install: false)
|
install: false)
|
||||||
|
|
Loading…
Reference in New Issue