From 49f1007a518d3641f8d20d9ca7542a4f2c8d2594 Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Fri, 24 Nov 2023 03:01:39 +0100 Subject: [PATCH] test --- app/videostreaming/avcodec/avcodec_video.pri | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/videostreaming/avcodec/avcodec_video.pri b/app/videostreaming/avcodec/avcodec_video.pri index 7de028bd7..d3f06e5e9 100644 --- a/app/videostreaming/avcodec/avcodec_video.pri +++ b/app/videostreaming/avcodec/avcodec_video.pri @@ -32,9 +32,13 @@ CONFIG += link_pkgconfig packagesExist(mmal) { DEFINES += IS_PLATFORM_RPI } +# Check if mali package exists +message(Mali package exists: $$packagesExist(mali)) + +# If the mali package exists, define IS_PLATFORM_ROCK packagesExist(mali) { DEFINES += IS_PLATFORM_ROCK + message(IS_PLATFORM_ROCK defined because mali package exists) } - # can be used in c++, also set to be exposed in qml DEFINES += QOPENHD_ENABLE_VIDEO_VIA_AVCODEC