Browse Source

meson.build: define cpp dependency as non-native

meson.build:93: WARNING: add_languages is missing native:,
  assuming languages are wanted for both host and build.

Doesn't matter for our use-case (compilation check only), so let's define it
as non-native.
lines
Peter Hutterer 1 year ago
committed by Wim Taymans
parent
commit
c69ebf6361
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      meson.build

+ 1
- 1
meson.build View File

@ -90,7 +90,7 @@ cc_flags = common_flags + [
]
add_project_arguments(cc.get_supported_arguments(cc_flags), language: 'c')
have_cpp = add_languages('cpp', required : false)
have_cpp = add_languages('cpp', native: false, required : false)
if have_cpp
cxx = meson.get_compiler('cpp')


Loading…
Cancel
Save