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