summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/caliper/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/caliper/package.py b/var/spack/repos/builtin/packages/caliper/package.py
index 4288000410..5896cfb420 100644
--- a/var/spack/repos/builtin/packages/caliper/package.py
+++ b/var/spack/repos/builtin/packages/caliper/package.py
@@ -82,6 +82,8 @@ class Caliper(CMakePackage):
args.append('-DLIBPFM_INSTALL=%s' % spec['libpfm4'].prefix)
if '+sosflow' in spec:
args.append('-DSOS_PREFIX=%s' % spec['sosflow'].prefix)
+ if '+callpath' in spec:
+ args.append('-DLIBUNWIND_PREFIX=%s' % spec['libunwind'].prefix)
if '+mpi' in spec:
args.append('-DMPI_C_COMPILER=%s' % spec['mpi'].mpicc)