mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
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:
@ -29,7 +29,7 @@ polkit_req_version = '>= 0.105'
|
|||||||
cc = meson.get_compiler('c')
|
cc = meson.get_compiler('c')
|
||||||
|
|
||||||
if get_option('libsysprof')
|
if get_option('libsysprof')
|
||||||
add_languages('cpp')
|
add_languages('cpp', native: false)
|
||||||
cxx = meson.get_compiler('cpp')
|
cxx = meson.get_compiler('cpp')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user