build: fix warning about add_languages()

We don't need to run things on the build machine, so native is not
required for this.
This commit is contained in:
Christian Hergert
2022-04-01 17:01:42 -07:00
parent 5efd9e4686
commit 3d7abf27b8

View File

@ -29,7 +29,7 @@ polkit_req_version = '>= 0.105'
cc = meson.get_compiler('c')
if get_option('libsysprof')
add_languages('cpp')
add_languages('cpp', native: false)
cxx = meson.get_compiler('cpp')
endif