summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/sz/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/sz/package.py b/var/spack/repos/builtin/packages/sz/package.py
index b06e1c099d..ca1ced87ee 100644
--- a/var/spack/repos/builtin/packages/sz/package.py
+++ b/var/spack/repos/builtin/packages/sz/package.py
@@ -93,6 +93,7 @@ class Sz(CMakePackage):
if "+python" in self.spec:
args.append("-DBUILD_PYTHON_WRAPPER=ON")
+ args.append("-DSZ_PYTHON_SITELIB={0}".format(site_packages_dir))
else:
args.append("-DBUILD_PYTHON_WRAPPER=OFF")