aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2020-04-20 21:20:19 +0200
committerGitHub <noreply@github.com>2020-04-20 20:20:19 +0100
commitfc25c5002cae23151309fce6059e230545fd4d82 (patch)
treef18487dfb330b8a7b797419e5a4c28061b82e14f
parentfe484d2d43bad4dafac9fbc1773030cdb4a2d99f (diff)
downloadlibfuse-fc25c5002cae23151309fce6059e230545fd4d82.tar.gz
Do not require C++ compiler for building
Fixes: - http://autobuild.buildroot.org/results/a6e64213f2910b2b81e79cb1e96e558413d7f70a Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-rw-r--r--example/meson.build2
-rw-r--r--meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/example/meson.build b/example/meson.build
index 3edddea..2342df9 100644
--- a/example/meson.build
+++ b/example/meson.build
@@ -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)
diff --git a/meson.build b/meson.build
index 69b3630..4428bdb 100644
--- a/meson.build
+++ b/meson.build
@@ -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' ])