Skip to content

Commit

Permalink
CMake: fix missing PETSc setup in Config file (#1134)
Browse files Browse the repository at this point in the history
  • Loading branch information
mic84 authored Jul 15, 2020
1 parent bb17d53 commit 6f2e601
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Tools/CMake/AMReXConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ set(AMReX_CONDUIT_FOUND @ENABLE_CONDUIT@)
set(AMReX_SUNDIALS_FOUND @ENABLE_SUNDIALS@)
set(AMReX_ASCENT_FOUND @ENABLE_ASCENT@)
set(AMReX_HYPRE_FOUND @ENABLE_HYPRE@)
set(AMReX_PETSC_FOUND @ENABLE_PETSC@)

# Compilation options
set(AMReX_FPE_FOUND @ENABLE_FPE@)
Expand Down Expand Up @@ -121,6 +122,10 @@ if (@ENABLE_HYPRE@)
find_dependency(HYPRE 2.15 REQUIRED)
endif ()

if (@ENABLE_PETSC@)
find_dependency(PETSc 2.13 REQUIRED)
endif ()

#
# CUDA
#
Expand Down

0 comments on commit 6f2e601

Please sign in to comment.