q-e-sirius: add dependency on pkgconfig (#23035)

This commit is contained in:
Harmen Stoppels 2021-04-19 11:50:52 +02:00 committed by GitHub
parent 4d48e09116
commit 618edbe5d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,8 +14,8 @@ class QESirius(CMakePackage):
maintainers = ['simonpintarelli'] maintainers = ['simonpintarelli']
version('develop-ristretto', branch='ristretto') version('develop-ristretto', branch='ristretto', submodules=True)
version('6.7-rc1-sirius', tag='v6.7-rc1-sirius') version('6.7-rc1-sirius', tag='v6.7-rc1-sirius', submodules=True)
variant('mpi', default=True, description='Builds with MPI support') variant('mpi', default=True, description='Builds with MPI support')
variant('openmp', default=True, description='Enables OpenMP support') variant('openmp', default=True, description='Enables OpenMP support')
@ -35,6 +35,7 @@ class QESirius(CMakePackage):
depends_on('hdf5', when='+hdf5') depends_on('hdf5', when='+hdf5')
depends_on('git', type='build') depends_on('git', type='build')
depends_on('pkgconfig', type='build')
conflicts('~mpi', when='+scalapack', msg='SCALAPACK requires MPI support') conflicts('~mpi', when='+scalapack', msg='SCALAPACK requires MPI support')
conflicts('~scalapack', when='+elpa', msg='ELPA requires SCALAPACK support') conflicts('~scalapack', when='+elpa', msg='ELPA requires SCALAPACK support')