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:
darmac 2020-08-11 10:25:45 +08:00 committed by GitHub
parent 9fbfd6b58c
commit 84a97d8372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,9 +34,10 @@ def cmake_args(self):
return options
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)
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):
env.set('PacBioBAM_LIBRARIES', self.prefix.lib)