From 859afc8f5458594b6d4a010351ee515387d249ef Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Thu, 3 Jan 2019 23:07:36 +0100 Subject: [PATCH] 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. --- src/lib/evas/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/evas/meson.build b/src/lib/evas/meson.build index dc08666fce..10b6fcd920 100644 --- a/src/lib/evas/meson.build +++ b/src/lib/evas/meson.build @@ -167,10 +167,10 @@ endif if get_option('opengl') != 'none' if get_option('opengl') == 'es-egl' config_h.set('GL_GLES', '1') - gl_deps += cc.find_library('GLESv2') - gl_deps += cc.find_library('EGL') + gl_deps += dependency('glesv2') + gl_deps += dependency('egl') else - gl_deps += cc.find_library('GL') + gl_deps += dependency('gl') endif endif