From: Timo Heister Date: Wed, 4 Sep 2024 21:44:20 +0000 (-0400) Subject: fix cmake bug in PETSC_WITH_KOKKOS check X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4da6d23b9c36bad1c811514253a9a57694bb4d1;p=dealii.git fix cmake bug in PETSC_WITH_KOKKOS check The variable DEAL_II_PETSC_WITH_KOKKOS is only defined once the configuration finishes. --- diff --git a/cmake/configure/configure_20_petsc.cmake b/cmake/configure/configure_20_petsc.cmake index 9b55e63bcb..f3a237da7e 100644 --- a/cmake/configure/configure_20_petsc.cmake +++ b/cmake/configure/configure_20_petsc.cmake @@ -82,7 +82,7 @@ macro(feature_petsc_find_external var) set(${var} FALSE) endif() - if(DEAL_II_PETSC_WITH_KOKKOS) + if(PETSC_WITH_KOKKOS) if(DEAL_II_FORCE_BUNDLED_KOKKOS) set(PETSC_ADDITIONAL_ERROR_STRING ${PETSC_ADDITIONAL_ERROR_STRING}