Commit 4c210531 authored by James Hilliard's avatar James Hilliard
Browse files

meson: only require cpp for tests


Signed-off-by: James Hilliard's avatarJames Hilliard <james.hilliard1@gmail.com>
parent 34306efe
Pipeline #302673 passed with stages
in 1 minute and 11 seconds
project(
'wayland', 'c', 'cpp',
'wayland', 'c',
version: '1.19.90',
license: 'MIT',
meson_version: '>= 0.52.1',
......
......@@ -64,15 +64,17 @@ executable(
dependencies: test_runner_dep
)
test(
'cpp-compile-test',
executable(
if add_languages('cpp')
test(
'cpp-compile-test',
'cpp-compile-test.cpp',
wayland_server_protocol_h,
include_directories: src_inc
executable(
'cpp-compile-test',
'cpp-compile-test.cpp',
wayland_server_protocol_h,
include_directories: src_inc
)
)
)
endif
sed_path = find_program('sed').path()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment