Explorar o código

Fix finding libnvidia-ml

Samuel Thibault %!s(int64=4) %!d(string=hai) anos
pai
achega
ac58fd7802
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -1384,7 +1384,7 @@ if test x$enable_cuda = xyes; then
 		      STARPU_CUDA_LDFLAGS="$STARPU_CUDA_LDFLAGS -lcusparse"])
 	AC_CHECK_DECLS([cusparseSetStream], [], [], [[#include <cusparse.h>]])
 
-	LDFLAGS="${LDFLAGS} -lnvidia-ml"
+	LIBS="${LIBS} -lnvidia-ml"
 	AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
 		[[#include <nvml.h>]],
 		[[nvmlInit();]]