pbbam: fix build error (#17955)
* pbbam: fix build error * Update var/spack/repos/builtin/packages/pbbam/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
parent
9fbfd6b58c
commit
84a97d8372
@ -34,9 +34,10 @@ def cmake_args(self):
|
|||||||
return options
|
return options
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
install_tree('spack-build/bin', prefix.bin)
|
|
||||||
install_tree('spack-build/lib', prefix.lib)
|
|
||||||
install_tree('include/pbbam', prefix.include.pbbam)
|
install_tree('include/pbbam', prefix.include.pbbam)
|
||||||
|
with working_dir(self.build_directory):
|
||||||
|
install_tree('bin', prefix.bin)
|
||||||
|
install_tree('lib', prefix.lib)
|
||||||
|
|
||||||
def setup_dependent_build_environment(self, env, dependent_spec):
|
def setup_dependent_build_environment(self, env, dependent_spec):
|
||||||
env.set('PacBioBAM_LIBRARIES', self.prefix.lib)
|
env.set('PacBioBAM_LIBRARIES', self.prefix.lib)
|
||||||
|
Loading…
Reference in New Issue
Block a user