summaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2019-04-03 13:38:17 -0700
committerWilliam A. Kennington III <wak@google.com>2019-04-03 13:38:33 -0700
commit8ec59e6242c3c4752033ea69270e4edb2cd4caec (patch)
treee9440f8adca45d4c311415ce16475a73b604d609 /example
parent5457dae0cf7e9c4e97ee558f1a793d6fc2609ef5 (diff)
downloadsdeventplus-8ec59e6242c3c4752033ea69270e4edb2cd4caec.tar.gz
sdeventplus-8ec59e6242c3c4752033ea69270e4edb2cd4caec.zip
meson: Use declare_dependency for libraries
Now example binaries and tests don't have to be aware of the nuances for configuring the build to use the library. This makes the project library look like any other system dependency. Change-Id: Ife3bcd3dcbd423f08c513f9a05fc8cabff41e2f6 Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'example')
-rw-r--r--example/meson.build4
1 files changed, 1 insertions, 3 deletions
diff --git a/example/meson.build b/example/meson.build
index ea04ff5..fdab8f0 100644
--- a/example/meson.build
+++ b/example/meson.build
@@ -7,8 +7,6 @@ examples = [
foreach example : examples
executable(example, example + '.cpp',
- include_directories: includes,
implicit_include_directories: false,
- link_with: sdeventplus,
- dependencies: stdplus)
+ dependencies: sdeventplus)
endforeach
OpenPOWER on IntegriCloud