[vlc-commits] [Git][videolan/vlc][master] meson: DeckLink: add dependency on CoreFoundation
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Apr 2 07:51:45 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
75022f11 by Marvin Scholz at 2025-04-02T07:35:54+00:00
meson: DeckLink: add dependency on CoreFoundation
This is required to link successfully on macOS.
- - - - -
1 changed file:
- modules/access/meson.build
Changes:
=====================================
modules/access/meson.build
=====================================
@@ -9,16 +9,21 @@ vlc_modules += {
}
decklink_dep = disabler()
+decklink_dependencies = []
decklink_cpp_args = []
if get_option('decklink').allowed()
if host_system == 'windows'
decklink_cpp_args += libcom_cppflags
endif
+if have_osx
+ decklink_dependencies += corefoundation_dep
+endif
# TODO allow providing a custom location for the DeckLink SDK
if contrib_dir != ''
decklink_dep = declare_dependency(
link_args: '-L' + contrib_libdir,
- compile_args: [f'-I at contrib_incdir@/decklink'])
+ compile_args: [f'-I at contrib_incdir@/decklink'],
+ dependencies: decklink_dependencies)
if not cpp.check_header('DeckLinkAPI.h', dependencies: [ decklink_dep ])
decklink_dep = disabler()
endif
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/75022f114431a3d5a1985da5390c45aa6ee722c9
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/75022f114431a3d5a1985da5390c45aa6ee722c9
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list