mirror of
https://github.com/GOSTSec/ccminer
synced 2025-01-09 14:28:15 +00:00
fix linux configure
This commit is contained in:
parent
ec454dd78c
commit
29c3db5dc6
@ -149,12 +149,11 @@ AM_CONDITIONAL([HAVE_NVML], [test -n "$with_nvml"])
|
|||||||
|
|
||||||
NVCC="nvcc"
|
NVCC="nvcc"
|
||||||
|
|
||||||
if test -n "$with_cuda"
|
if test -n "$with_cuda" ; then
|
||||||
then
|
|
||||||
CUDA_INCLUDES="-I$with_cuda/include"
|
CUDA_INCLUDES="-I$with_cuda/include"
|
||||||
CUDA_LIBS="-lcudart"
|
CUDA_LIBS="-lcudart"
|
||||||
CUDA_LDFLAGS="-L$with_cuda/lib$SUFFIX"
|
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"
|
NVCC="$with_cuda/bin/nvcc"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user