diff options
author | James Almer <jamrial@gmail.com> | 2016-11-24 19:39:13 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-11-24 19:50:43 +0300 |
commit | d1de725beed3da2c1bb9c094b846e2f4370150cb (patch) | |
tree | 3714c264d7fa55e5ff05a84922aa6a26d245eee0 /libavutil | |
parent | 8f5a2bed5eabd423db4a05521a96b71babeff332 (diff) |
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>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/Makefile b/libavutil/Makefile index 732961ac50..c61ca9c7c0 100644 --- a/libavutil/Makefile +++ b/libavutil/Makefile @@ -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 |