forked from enlightenment/efl
meson: lets keep dependency
the reason for using dependency here is that meson *sometimes* uses dependency as a wrapper arround finding a dependency, this is usefull if a known target is having different library names on different OSs. On macos the cc.find_library was causing errors, since the library is not called GL there. This fixes the macos build.
This commit is contained in:
parent
93baf085ec
commit
859afc8f54
|
@ -167,10 +167,10 @@ endif
|
||||||
if get_option('opengl') != 'none'
|
if get_option('opengl') != 'none'
|
||||||
if get_option('opengl') == 'es-egl'
|
if get_option('opengl') == 'es-egl'
|
||||||
config_h.set('GL_GLES', '1')
|
config_h.set('GL_GLES', '1')
|
||||||
gl_deps += cc.find_library('GLESv2')
|
gl_deps += dependency('glesv2')
|
||||||
gl_deps += cc.find_library('EGL')
|
gl_deps += dependency('egl')
|
||||||
else
|
else
|
||||||
gl_deps += cc.find_library('GL')
|
gl_deps += dependency('gl')
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue