Do not require C++ compiler for building

Fixes:
 - http://autobuild.buildroot.org/results/a6e64213f2910b2b81e79cb1e96e558413d7f70a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
This commit is contained in:
Fabrice Fontaine 2020-04-20 21:20:19 +02:00 committed by GitHub
parent fe484d2d43
commit fc25c5002c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ foreach ex : threaded_examples
install: false)
endforeach
if not platform.endswith('bsd') and platform != 'dragonfly'
if not platform.endswith('bsd') and platform != 'dragonfly' and add_languages('cpp', required : false)
executable('passthrough_hp', 'passthrough_hp.cc',
dependencies: [ thread_dep, libfuse_dep ],
install: false)

View File

@ -1,4 +1,4 @@
project('libfuse3', ['cpp', 'c'], version: '3.9.1',
project('libfuse3', ['c'], version: '3.9.1',
meson_version: '>= 0.42',
default_options: [ 'buildtype=debugoptimized' ])