Skip to content

Commit

Permalink
Update cmake/dependencies/ABLASTR.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
cemitch99 authored Dec 12, 2024
1 parent b48846c commit df365c5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cmake/dependencies/ABLASTR.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ macro(find_ablastr)
set(WarpX_MPI_THREAD_MULTIPLE ${ImpactX_MPI_THREAD_MULTIPLE} CACHE INTERNAL "" FORCE)
set(WarpX_IPO ${ImpactX_IPO} CACHE INTERNAL "" FORCE)

# control FFT cache (option 2)
#if(ImpactX_FFT)
# set(AMReX_FFT ON CACHE INTERNAL "")
#else()
# set(AMReX_FFT OFF CACHE INTERNAL "")
#endif()
#control FFT cache (option 2)
if(ImpactX_FFT)
set(AMReX_FFT ON CACHE INTERNAL "")
else()
set(AMReX_FFT OFF CACHE INTERNAL "")
endif()

# shared libs, i.e. for Python bindings, need relocatable code
if(ImpactX_PYTHON OR BUILD_SHARED_LIBS)
Expand Down

0 comments on commit df365c5

Please sign in to comment.