diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2020-03-10 15:12:29 +0100 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2020-03-10 15:12:29 +0100 |
commit | f6f2706a64cf9dd1ec90d5f48cbadb684a6e40b1 (patch) | |
tree | e3b5651f30470cc951d399d2cbb0a02a3146ddcd | |
parent | 9d026fa8a90fe6031c5a2abe7e92f92d46430939 (diff) | |
download | sigc++-f6f2706a64cf9dd1ec90d5f48cbadb684a6e40b1.tar.gz |
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.
-rw-r--r-- | examples/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/meson.build b/examples/meson.build index a3c6de2..501f196 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -20,6 +20,7 @@ foreach ex : examples endforeach exe_file = executable(ex_name, ex_sources, + cpp_args: '-DSIGCXX_DISABLE_DEPRECATED', dependencies: sigcxx_dep, gui_app: false, build_by_default: build_examples |