dealii: fix directory structure
This commit is contained in:
parent
f14cd67446
commit
1b553f2b21
@ -120,6 +120,16 @@ def install(self, spec, prefix):
|
|||||||
'-DZLIB_DIR=%s' % spec['zlib'].prefix
|
'-DZLIB_DIR=%s' % spec['zlib'].prefix
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# Set directory structure:
|
||||||
|
if spec.satisfies('@:8.2.1'):
|
||||||
|
options.extend(['-DDEAL_II_COMPONENT_COMPAT_FILES=OFF'])
|
||||||
|
else:
|
||||||
|
options.extend([
|
||||||
|
'-DDEAL_II_EXAMPLES_RELDIR=share/deal.II/examples',
|
||||||
|
'-DDEAL_II_DOCREADME_RELDIR=share/deal.II/',
|
||||||
|
'-DDEAL_II_DOCHTML_RELDIR=share/deal.II/doc'
|
||||||
|
])
|
||||||
|
|
||||||
# MPI
|
# MPI
|
||||||
if '+mpi' in spec:
|
if '+mpi' in spec:
|
||||||
options.extend([
|
options.extend([
|
||||||
|
Loading…
Reference in New Issue
Block a user