pkg-config should be a build dependency only
This commit is contained in:
@@ -62,6 +62,10 @@ def install(self, spec, prefix):
|
||||
spec['meep'].prefix.lib
|
||||
]
|
||||
|
||||
if '+mpi' in spec:
|
||||
include_dirs.append(spec['mpi'].prefix.include)
|
||||
library_dirs.append(spec['mpi'].prefix.lib)
|
||||
|
||||
include_flags = '-I{0}'.format(','.join(include_dirs))
|
||||
library_flags = '-L{0}'.format(','.join(library_dirs))
|
||||
|
||||
|
Reference in New Issue
Block a user