Fix CUDA build without KMSDRM enabled

This commit is contained in:
Cameron Gutman 2023-11-01 22:49:18 -05:00
parent 58f87e39a9
commit 3cb169ea26

View file

@ -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)