]> https://gitweb.dealii.org/ - dealii.git/commitdiff
There is no longer a need to fall back on Kokkos_VERSION. 18220/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 27 Mar 2025 00:03:45 +0000 (18:03 -0600)
committerGitHub <noreply@github.com>
Thu, 27 Mar 2025 00:03:45 +0000 (18:03 -0600)
Co-authored-by: Matthias Maier <tamiko@43-1.org>
cmake/modules/FindDEAL_II_KOKKOS.cmake

index e5266c783d820adab885fe541dbeb8dc0e330bcd..348eda5ca66240e5580cedbca2eb5ac35dc98bb6 100644 (file)
@@ -169,13 +169,6 @@ if(KOKKOS_FOUND)
   #
   # Extract version numbers:
   #
-  if(NOT KOKKOS_VERSION)
-    if(Kokkos_VERSION)
-      set(KOKKOS_VERSION "${Kokkos_VERSION}")
-    else()
-      message(FATAL_ERROR "FindPackage(Kokkos) did not set KOKKOS_VERSION!")
-    endif()
-  endif()
 
   string(REGEX REPLACE
     "^([0-9]+).*$" "\\1"

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.