From 29c3db5dc64a77d56773ff62928529f73915c48a Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Sat, 17 Jan 2015 20:10:50 +0100 Subject: [PATCH] fix linux configure --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 758f739..2179bc4 100644 --- a/configure.ac +++ b/configure.ac @@ -149,12 +149,11 @@ AM_CONDITIONAL([HAVE_NVML], [test -n "$with_nvml"]) NVCC="nvcc" -if test -n "$with_cuda" -then +if test -n "$with_cuda" ; then CUDA_INCLUDES="-I$with_cuda/include" CUDA_LIBS="-lcudart" CUDA_LDFLAGS="-L$with_cuda/lib$SUFFIX" - if test -x "$with_cuda/bin/nvcc" + if test -x "$with_cuda/bin/nvcc" ; then NVCC="$with_cuda/bin/nvcc" fi else