amrex: Define module directry when compiling with Fujitsu compiler. (#14124)

This commit is contained in:
t-karatsu 2019-12-19 04:47:21 +09:00 committed by Adam J. Stewart
parent 52894f5c71
commit 135cf4835f

View file

@ -79,4 +79,7 @@ def cmake_args(self):
'-DENABLE_PARTICLES:BOOL=%s' % self.cmake_is_on('+particles'),
'-DENABLE_SUNDIALS:BOOL=%s' % self.cmake_is_on('+sundials')
]
if self.spec.satisfies('%fj'):
args.append('-DCMAKE_Fortran_MODDIR_FLAG=-M')
return args