Skip to content

Commit

Permalink
Update find_package
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l authored Sep 6, 2024
1 parent b562a42 commit 7263091
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/dependencies/AMReX.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ macro(find_amrex)
elseif(NOT pyAMReX_amrex_internal)
message(STATUS "Searching for pre-installed AMReX ...")
# https://amrex-codes.github.io/amrex/docs_html/BuildingAMReX.html#importing-amrex-into-your-cmake-project
find_package(AMReX 24.09 CONFIG REQUIRED COMPONENTS EB PARTICLES PIC)
# not strictly required yet to compile pyAMReX: EB
find_package(AMReX 24.09 CONFIG REQUIRED COMPONENTS PARTICLES PIC)
message(STATUS "AMReX: Found version '${AMReX_VERSION}'")

if(AMReX_GPU_BACKEND STREQUAL CUDA)
Expand Down

0 comments on commit 7263091

Please sign in to comment.