Skip to content

Commit d66bc03

Browse files
committed
examples: Disable deprecated API when building with Meson
Deprecated SIGCXX API is disabled when example programs are built with Autotools. Do the same when building with Meson.
1 parent 0fe2900 commit d66bc03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ foreach ex : examples
2020
endforeach
2121

2222
exe_file = executable(ex_name, ex_sources,
23+
cpp_args: '-DSIGCXX_DISABLE_DEPRECATED',
2324
dependencies: sigcxx_dep,
2425
gui_app: false,
2526
build_by_default: build_examples

0 commit comments

Comments
 (0)