meson: move luabins to subprojects
This commit is contained in:
parent
e087728021
commit
44af99a163
51 changed files with 4 additions and 1 deletions
|
@ -243,7 +243,7 @@ if not deps.contains(luajit)
|
||||||
else
|
else
|
||||||
luajit_inc = include_directories(luajit.get_pkgconfig_variable('includedir'))
|
luajit_inc = include_directories(luajit.get_pkgconfig_variable('includedir'))
|
||||||
endif
|
endif
|
||||||
subdir('vendor/luabins/src')
|
subdir('subprojects/luabins/src')
|
||||||
|
|
||||||
dep_gl = dependency('gl', required: false)
|
dep_gl = dependency('gl', required: false)
|
||||||
if not dep_gl.found()
|
if not dep_gl.found()
|
||||||
|
@ -257,6 +257,9 @@ if not dep_gl.found()
|
||||||
dep_gl = dependency('', required: false)
|
dep_gl = dependency('', required: false)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
if host_machine.system() == 'darwin'
|
||||||
|
conf.set('HAVE_OPENGL_GL_H', 1)
|
||||||
|
endif
|
||||||
|
|
||||||
if not dep_gl.found()
|
if not dep_gl.found()
|
||||||
error('OpenGL implementation not found')
|
error('OpenGL implementation not found')
|
||||||
|
|
Loading…
Reference in a new issue