aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-03 23:07:36 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-04 12:07:01 +0100
commit859afc8f5458594b6d4a010351ee515387d249ef (patch)
tree8bf9884ebca3a4cae3b6bd55b9fe9be72b7cc9a4
parentmeson: and another missing file in ecore (diff)
downloadefl-859afc8f5458594b6d4a010351ee515387d249ef.tar.gz
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.
-rw-r--r--src/lib/evas/meson.build6
1 files 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