summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/hsakmt-roct/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hsakmt-roct/package.py b/var/spack/repos/builtin/packages/hsakmt-roct/package.py
index 1751b1c244..fe38603436 100644
--- a/var/spack/repos/builtin/packages/hsakmt-roct/package.py
+++ b/var/spack/repos/builtin/packages/hsakmt-roct/package.py
@@ -34,6 +34,7 @@ class HsakmtRoct(CMakePackage):
variant('build_type', default='Release', values=("Release", "Debug", "RelWithDebInfo"), description='CMake build type')
variant('shared', default=True, description='Build shared or static library')
+ depends_on('pkgconfig', type='build', when='@4.5.0:')
depends_on('cmake@3:', type='build')
depends_on('numactl')
depends_on('libdrm', when='@4.5.0:')