Explorar el Código

make sure that nvcc finds cuda headers

Cédric Augonnet hace 15 años
padre
commit
681fcbb676
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      configure.ac

+ 1 - 0
configure.ac

@@ -128,6 +128,7 @@ if test x$enable_cuda = xyes -o x$enable_cuda = xmaybe; then
 	
 	if test -d "$cuda_dir/include/"; then
 		CPPFLAGS="${CPPFLAGS} -I$cuda_dir/include/ "
+		NVCCFLAGS="${NVCCFLAGS} -I$cuda_dir/include/ "
 	fi
 
 	# do we have a valid CUDA setup ?