mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
meson: Add macOS definitions for qmlgl plugin
Tested with Cerbero.
This commit is contained in:
parent
8f9ca07756
commit
e9b5e78c9e
1 changed files with 9 additions and 1 deletions
|
@ -121,7 +121,15 @@ if have_cxx and build_gstgl
|
|||
endif
|
||||
endif
|
||||
|
||||
# FIXME: OSX/iOS definitions
|
||||
# FIXME: iOS definitions
|
||||
if gst_gl_have_window_cocoa and gst_gl_have_platform_cgl
|
||||
qt5macextras = dependency('qt5', modules : ['MacExtras'], required : false)
|
||||
if qt5macextras.found()
|
||||
qt_defines += ['-DHAVE_QT_MAC']
|
||||
optional_deps += qt5macextras
|
||||
have_qt_windowing = true
|
||||
endif
|
||||
endif
|
||||
|
||||
if have_qt_windowing
|
||||
# Build it!
|
||||
|
|
Loading…
Reference in a new issue