]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix error 10298/head
authorTimo Heister <timo.heister@gmail.com>
Fri, 22 May 2020 19:06:26 +0000 (15:06 -0400)
committerTimo Heister <timo.heister@gmail.com>
Fri, 22 May 2020 19:06:26 +0000 (15:06 -0400)
cmake/configure/configure_1_cuda.cmake

index 8b3a8b3a72e4d08567735dd9fdc44f9975dda194..324d1727e52964b4812e61a9dafae187892bc6f6 100644 (file)
@@ -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()

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.