Configure: CUDA is now prerequisite for GPUJPEG

GPUJPEG now depend on CUDA headers because of added support for CUDA
streams.
This commit is contained in:
Martin Pulec
2019-01-07 14:25:46 +01:00
parent 586b6b3e00
commit c6e83fb70c

View File

@@ -2146,7 +2146,7 @@ jpeg=no
AC_ARG_ENABLE(jpeg,
[ --disable-jpeg disable JPEG compression (auto)]
[ Requires: libgpujpeg ],
[ Requires: CUDA libgpujpeg ],
[jpeg_req=$enableval],
[jpeg_req=auto])
@@ -2181,6 +2181,7 @@ else
fi
if test "$jpeg_req" != no -a \
"$FOUND_CUDA" = yes -a \
"$found_gpujpeg" = yes
then
jpeg=yes