From b629db207bb263495bfff2e61ce189ccac27b4b9 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Wed, 28 Aug 2019 15:55:39 +0200 Subject: Skip boost/cuda check if cuda is not found --- build/linux/configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/linux/configure.ac b/build/linux/configure.ac index c992516..bb4d113 100644 --- a/build/linux/configure.ac +++ b/build/linux/configure.ac @@ -120,7 +120,9 @@ if test x"$HAVECUDA" = xyes; then AC_MSG_CHECKING([if nvcc works]) ASTRA_CHECK_NVCC(HAVECUDA,NVCCFLAGS_EXTRA) AC_MSG_RESULT($HAVECUDA) +fi +if test x"$HAVECUDA" = xyes; then AC_MSG_CHECKING([if boost and CUDA versions are compatible]) ASTRA_CHECK_CUDA_BOOST(AC_MSG_RESULT([yes]),[ AC_MSG_RESULT([no]) -- cgit v1.2.3