Fix GStreamer package check to include gstreamer-1.0 and update library references

This commit is contained in:
brunoherbelin
2025-11-28 16:12:08 +01:00
parent 5fe7cf4a8d
commit c826d8e418

View File

@@ -157,7 +157,8 @@ find_package(ZLIB REQUIRED)
# GSTREAMER
#
if (PKG_CONFIG_FOUND)
pkg_check_modules(GSTREAMER REQUIRED gstreamer-base-1.0>=1.24
pkg_check_modules(GSTREAMER REQUIRED gstreamer-1.0>=1.24
gstreamer-base-1.0
gstreamer-pbutils-1.0
gstreamer-app-1.0
gstreamer-audio-1.0
@@ -207,6 +208,7 @@ else ()
)
set( GSTREAMER_LIBRARIES
${GOBJECT_LIBRARIES}
${GSTREAMER_LIBRARY}
${GSTREAMER_BASE_LIBRARY}
${GSTREAMER_APP_LIBRARY}
${GSTREAMER_AUDIO_LIBRARY}