diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/dbow2/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/dbow2/package.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/dbow2/package.py b/var/spack/repos/builtin/packages/dbow2/package.py index d0d89a14bd..a74ab89364 100644 --- a/var/spack/repos/builtin/packages/dbow2/package.py +++ b/var/spack/repos/builtin/packages/dbow2/package.py @@ -3,6 +3,8 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +from spack.pkg.builtin.boost import Boost + class Dbow2(CMakePackage): """DBoW2 is an improved version of the DBow library, an open source C++ @@ -16,7 +18,10 @@ class Dbow2(CMakePackage): version('shinsumicco', git='https://github.com/shinsumicco/DBoW2.git', branch='master') depends_on('cmake@3.0:', type='build') + # TODO: replace this with an explicit list of components of Boost, + # for instance depends_on('boost +filesystem') + # See https://github.com/spack/spack/pull/22303 for reference + depends_on(Boost.with_default_variants) depends_on('opencv+calib3d+features2d+highgui+imgproc') - depends_on('boost') depends_on('dlib') depends_on('eigen', type='link') |