py-pybind11: add CMake dependency (#27573)

This commit is contained in:
Thomas Green 2021-12-01 19:57:27 +00:00 committed by GitHub
parent faa04a03c0
commit ab85e79a91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,6 +45,7 @@ class PyPybind11(CMakePackage, PythonPackage):
depends_on('py-setuptools', type='build') depends_on('py-setuptools', type='build')
depends_on('py-pytest', type='test') depends_on('py-pytest', type='test')
depends_on('python@2.7:2.8,3.5:', type=('build', 'run')) depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
depends_on('cmake@3.13:', type='build')
# compiler support # compiler support
conflicts('%gcc@:4.7') conflicts('%gcc@:4.7')