From: Timo Heister Date: Fri, 22 May 2020 19:06:26 +0000 (-0400) Subject: fix error X-Git-Tag: v9.3.0-rc1~1589^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f59aa4391884aaa3a28de652b91733568665cfb;p=dealii.git fix error --- diff --git a/cmake/configure/configure_1_cuda.cmake b/cmake/configure/configure_1_cuda.cmake index 8b3a8b3a72..324d1727e5 100644 --- a/cmake/configure/configure_1_cuda.cmake +++ b/cmake/configure/configure_1_cuda.cmake @@ -59,8 +59,8 @@ MACRO(FEATURE_CUDA_FIND_EXTERNAL var) # # disable CUDA support older than 9.0: # - IF(CUDA_VERSION_MAJOR VERSION_LESS 9) - MESSAGE(ERROR "\n" + IF(CUDA_VERSION_MAJOR VERSION_LESS 9.0) + MESSAGE(FATAL_ERROR "\n" "deal.II requires CUDA version 9 or newer." ) ENDIF() @@ -79,7 +79,7 @@ MACRO(FEATURE_CUDA_FIND_EXTERNAL var) "CUDA ${_version} is not compatible with the C++ standard\n" "enabled by ${_feature}.\n" "Please disable ${_feature}, e.g. by reconfiguring with\n" - " cmake -D${_feature}=OFF ." + " cmake -D${_feature}=OFF .\n" ) ENDIF() ENDIF()