[vlc-commits] [Git][videolan/libvlcpp][master] meson: Expose libvlcpp as a subproject dependency
Alaric Senat (@asenat)
gitlab at videolan.org
Fri Jun 5 07:44:08 UTC 2026
Alaric Senat pushed to branch master at VideoLAN / libvlcpp
Commits:
33214afe by Alaric Senat at 2026-06-05T09:41:45+02:00
meson: Expose libvlcpp as a subproject dependency
Declare `libvlcpp_dep` and register it via meson.override_dependency()
so the project can be consumed as a meson subproject through a
`dependency()` lookup.
- - - - -
1 changed file:
- meson.build
Changes:
=====================================
meson.build
=====================================
@@ -19,6 +19,13 @@ install_headers(
libvlc_dep = dependency('libvlc', version: '>=3.0')
+libvlcpp_dep = declare_dependency(
+ include_directories: include_directories('.'),
+ dependencies: [libvlc_dep],
+)
+
+meson.override_dependency('libvlcpp', libvlcpp_dep)
+
pkg = import('pkgconfig')
pkg.generate(
version: meson.project_version(),
View it on GitLab: https://code.videolan.org/videolan/libvlcpp/-/commit/33214afee13df36dc46309ef5416d681b56db5b9
--
View it on GitLab: https://code.videolan.org/videolan/libvlcpp/-/commit/33214afee13df36dc46309ef5416d681b56db5b9
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list