mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-20 15:50:03 +01:00
meson: remove C++ support, there's no C++ code anymore
This commit is contained in:
parent
2142fffc0e
commit
36598aede4
1 changed files with 1 additions and 5 deletions
|
|
@ -1,11 +1,10 @@
|
||||||
project('wireplumber', ['c', 'cpp'],
|
project('wireplumber', ['c'],
|
||||||
version : '0.3.50',
|
version : '0.3.50',
|
||||||
license : 'MIT',
|
license : 'MIT',
|
||||||
meson_version : '>= 0.54.0',
|
meson_version : '>= 0.54.0',
|
||||||
default_options : [
|
default_options : [
|
||||||
'warning_level=1',
|
'warning_level=1',
|
||||||
'buildtype=debugoptimized',
|
'buildtype=debugoptimized',
|
||||||
'cpp_std=c++11',
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -82,9 +81,6 @@ common_flags = [
|
||||||
cc = meson.get_compiler('c')
|
cc = meson.get_compiler('c')
|
||||||
add_project_arguments(cc.get_supported_arguments(common_flags), language: 'c')
|
add_project_arguments(cc.get_supported_arguments(common_flags), language: 'c')
|
||||||
|
|
||||||
ccpp = meson.get_compiler('cpp')
|
|
||||||
add_project_arguments(ccpp.get_supported_arguments(common_flags), language: 'cpp')
|
|
||||||
|
|
||||||
have_audiofade = cc.compiles('''
|
have_audiofade = cc.compiles('''
|
||||||
#include <spa/utils/names.h>
|
#include <spa/utils/names.h>
|
||||||
#ifndef SPA_NAME_CONTROL_AUDIO_FADE_SOURCE
|
#ifndef SPA_NAME_CONTROL_AUDIO_FADE_SOURCE
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue