|
|
@ -165,9 +165,11 @@ endif |
|
|
|
dl_dep = cc.find_library('dl', required: false) |
|
|
|
dl_dep = cc.find_library('dl', required: false) |
|
|
|
gl_dep = dependency('gl', required: false) |
|
|
|
gl_dep = dependency('gl', required: false) |
|
|
|
egl_dep = dependency('egl', required: false) |
|
|
|
egl_dep = dependency('egl', required: false) |
|
|
|
|
|
|
|
elg_headers_dep = egl_dep.partial_dependency(compile_args: true, includes: true) |
|
|
|
|
|
|
|
|
|
|
|
# Optional dependencies for tests |
|
|
|
# Optional dependencies for tests |
|
|
|
x11_dep = dependency('x11', required: false) |
|
|
|
x11_dep = dependency('x11', required: false) |
|
|
|
|
|
|
|
x11_headers_dep = x11_dep.partial_dependency(compile_args: true, includes: true) |
|
|
|
|
|
|
|
|
|
|
|
# GLES v2 and v1 may have pkg-config files, courtesy of downstream |
|
|
|
# GLES v2 and v1 may have pkg-config files, courtesy of downstream |
|
|
|
# packagers; let's check those first, and fall back to find_library() |
|
|
|
# packagers; let's check those first, and fall back to find_library() |
|
|
|