diff --git a/src/utils/PugsMacros.hpp b/src/utils/PugsMacros.hpp
index eb0697ba866f2c9b1d8e0c67d22c1e0a3bd4e03d..7248bad4b843106b02d1fa5a48cee46703f932ba 100644
--- a/src/utils/PugsMacros.hpp
+++ b/src/utils/PugsMacros.hpp
@@ -9,6 +9,7 @@
 #define PUGS_FORCEINLINE KOKKOS_FORCEINLINE_FUNCTION
 
 #define PUGS_LAMBDA KOKKOS_LAMBDA
+#define PUGS_CLASS_LAMBDA KOKKOS_CLASS_LAMBDA
 
 // Sets macro to ignore unknown pragma