From 09e75bbb28177f882f7ebbe7fa185fbc51439eea Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 30 May 2023 15:53:01 -0400 Subject: [PATCH] Set KOKKOS_FOUND --- cmake/modules/FindDEAL_II_KOKKOS.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/modules/FindDEAL_II_KOKKOS.cmake b/cmake/modules/FindDEAL_II_KOKKOS.cmake index 96a5812b7d..fcca57ccfd 100644 --- a/cmake/modules/FindDEAL_II_KOKKOS.cmake +++ b/cmake/modules/FindDEAL_II_KOKKOS.cmake @@ -38,6 +38,8 @@ else() HINTS ${KOKKOS_DIR} ${Kokkos_DIR} $ENV{Kokkos_DIR} ) + set(KOKKOS_FOUND ${Kokkos_FOUND}) + if(Kokkos_FOUND) # We need to disable SIMD vectorization for CUDA device code. # Otherwise, nvcc compilers from version 9 on will emit an error message like: -- 2.39.5