From 3cb169ea263c3cf9bb1461af291ab1461244b592 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 1 Nov 2023 22:49:18 -0500 Subject: [PATCH] Fix CUDA build without KMSDRM enabled --- app/app.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/app.pro b/app/app.pro index 0fc59379..91eb5fea 100644 --- a/app/app.pro +++ b/app/app.pro @@ -318,6 +318,9 @@ cuda { DEFINES += HAVE_CUDA SOURCES += streaming/video/ffmpeg-renderers/cuda.cpp HEADERS += streaming/video/ffmpeg-renderers/cuda.h + + # ffnvcodec uses libdl in cuda_load_functions()/cuda_free_functions() + LIBS += -ldl } config_EGL { message(EGL renderer selected)