ソースを参照

make sure that nvcc finds cuda headers

Cédric Augonnet 15 年 前
コミット
681fcbb676
共有1 個のファイルを変更した1 個の追加0 個の削除を含む
  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 ?