diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-11 22:00:15 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-11 22:00:15 +0300 |
| commit | 513b4dace2007e0a29c5e56d8170f4054255b87c (patch) | |
| tree | f716799d1f5a7877c1cece5c033971c09c6cccb4 /meson.build | |
| parent | 927ae621c9a3d46dbc401b8e9ea7bbed1bf2e97b (diff) | |
build: declare dependency and override for subprojects
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meson.build b/meson.build index dc81569..c87d6ba 100644 --- a/meson.build +++ b/meson.build @@ -88,6 +88,13 @@ pkg.generate( subdirs: 'yasl', ) +yasl_dep = declare_dependency( + link_with: yasl_lib.get_static_lib(), + include_directories: include_directories('include'), + dependencies: deps, +) +meson.override_dependency('yasl', yasl_dep) + executable( 'yasl-example', 'examples/simple_window.c', |
