aboutsummaryrefslogtreecommitdiffstats
path: root/example/meson.build
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2025-01-03 12:57:15 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-02-10 16:56:45 +0100
commit92cfa4088a58815ecb99b40c396c253aa7257990 (patch)
tree6d4db12cf5ce3067e39a02e886b1a6a6151d03c6 /example/meson.build
parentada5f158064505f8c1870b0ab046e6f8e45c6475 (diff)
downloadlibfuse-92cfa4088a58815ecb99b40c396c253aa7257990.tar.gz
Fix build of memfs_ll without manual meson reconfigure
After pulling latest code, memfs_ll build would fail because it builds with C++11. Changing the default of cpp_std in meson.build is not enough to fix this problem even if user runs 'meson setup --reconfigure'. I had to run 'meson setup -Dcpp_std= --reconfigure' to fix the build as mentioned in this meson issue: https://github.com/mesonbuild/meson/issues/8062#issuecomment-1568249672 Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'example/meson.build')
-rw-r--r--example/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/meson.build b/example/meson.build
index 5c02cc1..b2e896c 100644
--- a/example/meson.build
+++ b/example/meson.build
@@ -37,6 +37,7 @@ if not platform.endswith('bsd') and platform != 'dragonfly' and add_languages('c
install: false)
executable('memfs_ll', 'memfs_ll.cc',
dependencies: [ thread_dep, libfuse_dep ],
+ cpp_args : '-std=c++17',
install: false)
endif