mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
cuda: check for cuda.h when enabled
Fixes make checkheaders on systems without the Cuda Toolkit, which was broken after the dynlink changes. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
+2
-1
@@ -166,7 +166,8 @@ OBJS += $(COMPAT_OBJS:%=../compat/%)
|
||||
# Windows resource file
|
||||
SLIBOBJS-$(HAVE_GNU_WINDRES) += avutilres.o
|
||||
|
||||
SKIPHEADERS-$(CONFIG_CUDA) += hwcontext_cuda.h
|
||||
SKIPHEADERS-$(HAVE_CUDA_H) += hwcontext_cuda.h
|
||||
SKIPHEADERS-$(CONFIG_CUDA) += hwcontext_cuda_internal.h
|
||||
SKIPHEADERS-$(CONFIG_DXVA2) += hwcontext_dxva2.h
|
||||
SKIPHEADERS-$(CONFIG_QSV) += hwcontext_qsv.h
|
||||
SKIPHEADERS-$(CONFIG_VAAPI) += hwcontext_vaapi.h
|
||||
|
||||
Reference in New Issue
Block a user