From eaa4472baf629cbe642e1c8543bdd5fa885ed02c Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 26 Mar 2025 18:03:45 -0600 Subject: [PATCH] There is no longer a need to fall back on Kokkos_VERSION. Co-authored-by: Matthias Maier --- cmake/modules/FindDEAL_II_KOKKOS.cmake | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cmake/modules/FindDEAL_II_KOKKOS.cmake b/cmake/modules/FindDEAL_II_KOKKOS.cmake index e5266c783d..348eda5ca6 100644 --- a/cmake/modules/FindDEAL_II_KOKKOS.cmake +++ b/cmake/modules/FindDEAL_II_KOKKOS.cmake @@ -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" -- 2.39.5