Commit fd426280 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

for enabling MPIIO we also need to set -DLMP_MPIIO

parent cf79751f
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -791,6 +791,13 @@ foreach(PKG ${DEFAULT_PACKAGES})
  endif()
endforeach()

# packages that need defines set
foreach(PKG MPIIO)
  if(PKG_${PKG})
    add_definitions(-DLMP_${PKG})
  endif()
endforeach()

# dedicated check for entire contents of accelerator packages
foreach(PKG ${ACCEL_PACKAGES})
  set(${PKG}_SOURCES_DIR ${LAMMPS_SOURCE_DIR}/${PKG})