]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Set var to FALSe if package was not found
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 1 Nov 2022 12:11:43 +0000 (12:11 +0000)
committerDaniel Arndt <arndtd@ornl.gov>
Tue, 1 Nov 2022 12:11:43 +0000 (12:11 +0000)
cmake/configure/configure_40_cuda.cmake

index dd314711d095e35cbc4b7a15a0c208b294898cdd..f30b68377d5aeca3e45c4b2b80ef01e300eeb035 100644 (file)
@@ -28,7 +28,7 @@ MACRO(FEATURE_CUDA_FIND_EXTERNAL var)
       ${CUDA_ADDITIONAL_ERROR_STRING}
       "deal.II can only compiled with Cuda support if Kokkos was built with Cuda support!"
       )
-    SET(${var} TRUE)
+    SET(${var} FALSE)
   ELSE()
     # We need to set CUDA_USE_STATIC_CUDA_RUNTIME before FIND_PACKAGE(CUDA) and to
     # force the value otherwise it is overwritten by FIND_PACKAGE(CUDA)

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.