amrex: Define module directry when compiling with Fujitsu compiler. (#14124)
This commit is contained in:
parent
52894f5c71
commit
135cf4835f
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue