summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-04-13 12:24:03 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-04-13 12:25:55 +0000
commitcf4ec7f35521eb54d72ce0c92ce65b2249171cbd (patch)
tree14ba9db836942d24a521577635831b1d6db3617c
parent72bef5b2b9375dbf6b8f09f10cbb525384bc92b7 (diff)
downloadkmscube-master.tar.gz
meson: check GLES3 header within GLESv2 include dirsHEADmaster
Run-time dependency glesv2 found: YES 3.2 Check usable header "GLES3/gl3.h" : NO meson.build:65: WARNING: GLES3 not supported; shadertoy & texturator are NOT included in this build Fixes: 61fb902a021e ("meson: replace gles version check with a header presence check")
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 3214094..0ac5c7d 100644
--- a/meson.build
+++ b/meson.build
@@ -55,7 +55,7 @@ dep_gbm = dependency('gbm', version : '>=13.0')
dep_egl = dependency('egl')
dep_gles2 = dependency('glesv2')
-with_gles3 = cc.check_header('GLES3/gl3.h')
+with_gles3 = cc.check_header('GLES3/gl3.h', dependencies: dep_gles2)
if with_gles3
sources += files('cube-shadertoy.c')