if(PELEC_SUNDIALS_INTEGRATOR STREQUAL "arkode")
  set(BUILD_ARKODE ON)
else()
  set(BUILD_ARKODE OFF)
endif()
if(PELEC_SUNDIALS_INTEGRATOR STREQUAL "cvode")
  set(BUILD_CVODE ON)
  set(BUILD_SUNMATRIX_CUSPARSE ${PELEC_ENABLE_CUDA})
  set(BUILD_SUNLINSOL_CUSOLVERSP ${PELEC_ENABLE_CUDA})
  set(SUNDIALS_INDEX_SIZE 32)
else()
  set(BUILD_CVODE OFF)
endif()
set(BUILD_CVODES OFF)
set(BUILD_IDA OFF)
set(BUILD_IDAS OFF)
set(BUILD_KINSOL OFF)
set(BUILD_CPODES OFF)
set(BUILD_EXAMPLES OFF)
set(BUILD_TESTING OFF)
set(ENABLE_CUDA ${PELEC_ENABLE_CUDA})
