build: define tests in egl/meson.build when the 'tests' option is enabled
Signed-off-by: Francesco Guastella <guastella.francesco@gmail.com>
This commit is contained in:
parent
82d8b21827
commit
86588fbdeb
|
@ -9,6 +9,7 @@ wayland_egl = library(
|
||||||
install: true
|
install: true
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if get_option('tests')
|
||||||
wayland_egl_abi_check = executable('wayland-egl-abi-check', 'wayland-egl-abi-check.c')
|
wayland_egl_abi_check = executable('wayland-egl-abi-check', 'wayland-egl-abi-check.c')
|
||||||
test('wayland-egl abi check', wayland_egl_abi_check)
|
test('wayland-egl abi check', wayland_egl_abi_check)
|
||||||
|
|
||||||
|
@ -22,6 +23,7 @@ test(
|
||||||
'NM=@0@'.format(nm_path)
|
'NM=@0@'.format(nm_path)
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
install_headers([
|
install_headers([
|
||||||
'wayland-egl.h',
|
'wayland-egl.h',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user