mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 00:40:13 +00:00
configure [Win]: add CUDA_LIB to LIBS
Add CUDA_LIB to LIBS unconditionally as it is already done for other
platforms except Win.
In Windows, the CUDA wrapper was built outside UltraGrid (as a DLL) but this
is no longer true since the commit a4c22c93f (2024-03-05) so if there is no
CUDA features but still CUDA enabled (as with `--disable-all --enable-cuda`),
the libs were not added for the cuda_wrapper.
This commit is contained in:
@@ -581,8 +581,8 @@ fi
|
||||
if test "$FOUND_CUDA" = yes; then
|
||||
AC_DEFINE([HAVE_CUDA], [1], [CUDA is present on the system])
|
||||
OBJS="$OBJS src/cuda_wrapper.o"
|
||||
LIBS="$LIBS $CUDA_LIB"
|
||||
if test $system != Windows; then
|
||||
LIBS="$LIBS $CUDA_LIB"
|
||||
POST_COMPILE_MSG="$POST_COMPILE_MSG\n***\nYou have compiled in sort of CUDA code.\nIn order to use use it compression and \
|
||||
decompression, you will need to have CUDA libraries visible to your OS.\n\
|
||||
If not done so, you can accomplish this by adding line:\n\
|
||||
|
||||
Reference in New Issue
Block a user