From 0e731c7764a50debb1a24e4699c42c7913d844ef Mon Sep 17 00:00:00 2001
From: Mathis Kelm <mathis.kelm@iws.uni-stuttgart.de>
Date: Mon, 22 Apr 2024 11:09:51 +0200
Subject: [PATCH] [cmake] use correct variable for Kokkos backend

---
 dumux/parallel/parallel_for.hh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dumux/parallel/parallel_for.hh b/dumux/parallel/parallel_for.hh
index 32befe762e..d278880895 100644
--- a/dumux/parallel/parallel_for.hh
+++ b/dumux/parallel/parallel_for.hh
@@ -26,7 +26,7 @@
 #include <tbb/parallel_for.h>
 #endif
 
-#if HAVE_KOKKOS
+#if DUMUX_HAVE_KOKKOS
 #include <Kokkos_Core.hpp>
 #endif
 
@@ -100,7 +100,7 @@ private:
 };
 #endif // HAVE_TBB
 
-#if HAVE_KOKKOS
+#if DUMUX_HAVE_KOKKOS
 // Kokkos backend implementation
 template<class FunctorType>
 class ParallelFor<FunctorType, Multithreading::ExecutionBackends::Kokkos>
@@ -118,7 +118,7 @@ private:
     FunctorType functor_;
     std::size_t count_;
 };
-#endif // HAVE_KOKKOS
+#endif // DUMUX_HAVE_KOKKOS
 
 
 #if DUMUX_HAVE_OPENMP
-- 
GitLab