summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/dlib/package.py
blob: 8bf54c2ba5d65afb970808f1d5cabad551eddb30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)


class Dlib(CMakePackage):
    """DLib is a collection of C++ classes to solve common tasks in C++
    programs, as well as to offer additional functionality to use OpenCV
    data and to solve computer vision problems."""

    homepage = "https://github.com/dorian3d/DLib"
    git      = "https://github.com/dorian3d/DLib.git"

    version('master', branch='master')

    depends_on('cmake@3.0:', type='build')
    depends_on('opencv+calib3d+core+features2d+highgui+imgproc')
    # Because concretizer is broken...
    # TODO: remove when original concretizer is obsolete
    depends_on('opencv+flann')