mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-01 22:58:40 -04:00
build: specify native arg in add_languages()
Fixes the following warning:
WARNING: add_languages is missing native:, assuming languages are wanted for
both host and build.
Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
02661fde24
commit
24e0a7b622
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ executable(
|
||||||
dependencies: test_runner_dep
|
dependencies: test_runner_dep
|
||||||
)
|
)
|
||||||
|
|
||||||
if add_languages('cpp')
|
if add_languages('cpp', native: false)
|
||||||
test(
|
test(
|
||||||
'cpp-compile-test',
|
'cpp-compile-test',
|
||||||
executable(
|
executable(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue