From 2efe493fe2980a18d83e84021648f9fbf54e90ae Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 10 Mar 2025 15:28:33 -0600 Subject: [PATCH] Fix the name of variable reporting the Kokkos version. --- cmake/modules/FindDEAL_II_KOKKOS.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/FindDEAL_II_KOKKOS.cmake b/cmake/modules/FindDEAL_II_KOKKOS.cmake index e639a8b25c..cdcbfb4258 100644 --- a/cmake/modules/FindDEAL_II_KOKKOS.cmake +++ b/cmake/modules/FindDEAL_II_KOKKOS.cmake @@ -50,7 +50,7 @@ if(Kokkos_FOUND) if (Kokkos_ENABLE_CUDA OR Kokkos_ENABLE_HIP) # In version older than 3.7.0, Kokkos::Array::operator[] is not constexpr, # so we use std::array instead. - if (KOKKOS_VERSION VERSION_LESS 3.7.0) + if (Kokkos_VERSION VERSION_LESS 3.7.0) # We are using std::array in device code which calls the host-only function # __glibcxx_requires_subscript when defining _GLIBCXX_ASSERTIONS list(REMOVE_ITEM DEAL_II_DEFINITIONS_DEBUG "_GLIBCXX_ASSERTIONS") -- 2.39.5