summaryrefslogtreecommitdiff
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
parent93baf085ec3b5fab430a843e48da3abe05c18ce9 (diff)
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
167if get_option('opengl') != 'none' 167if get_option('opengl') != 'none'
168 if get_option('opengl') == 'es-egl' 168 if get_option('opengl') == 'es-egl'
169 config_h.set('GL_GLES', '1') 169 config_h.set('GL_GLES', '1')
170 gl_deps += cc.find_library('GLESv2') 170 gl_deps += dependency('glesv2')
171 gl_deps += cc.find_library('EGL') 171 gl_deps += dependency('egl')
172 else 172 else
173 gl_deps += cc.find_library('GL') 173 gl_deps += dependency('gl')
174 endif 174 endif
175endif 175endif
176 176