From: Wolfgang Bangerth Date: Mon, 10 Mar 2025 21:28:33 +0000 (-0600) Subject: Fix the name of variable reporting the Kokkos version. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F18218%2Fhead;p=dealii.git Fix the name of variable reporting the Kokkos version. --- 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")