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:
Simon Ser 2022-03-08 13:57:23 +01:00
parent 02661fde24
commit 24e0a7b622

View file

@ -65,7 +65,7 @@ executable(
dependencies: test_runner_dep
)
if add_languages('cpp')
if add_languages('cpp', native: false)
test(
'cpp-compile-test',
executable(