meson: move luabins to subprojects

This commit is contained in:
Ryan Lucia 2020-11-08 12:13:50 -05:00
parent e087728021
commit 44af99a163
51 changed files with 4 additions and 1 deletions

View File

@ -243,7 +243,7 @@ if not deps.contains(luajit)
else
luajit_inc = include_directories(luajit.get_pkgconfig_variable('includedir'))
endif
subdir('vendor/luabins/src')
subdir('subprojects/luabins/src')
dep_gl = dependency('gl', required: false)
if not dep_gl.found()
@ -257,6 +257,9 @@ if not dep_gl.found()
dep_gl = dependency('', required: false)
endif
endif
if host_machine.system() == 'darwin'
conf.set('HAVE_OPENGL_GL_H', 1)
endif
if not dep_gl.found()
error('OpenGL implementation not found')