diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/pythia6/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pythia6/package.py b/var/spack/repos/builtin/packages/pythia6/package.py index d637b0eb97..32d9ef181d 100644 --- a/var/spack/repos/builtin/packages/pythia6/package.py +++ b/var/spack/repos/builtin/packages/pythia6/package.py @@ -153,4 +153,6 @@ class Pythia6(CMakePackage): def cmake_args(self): args = ["-DPYTHIA6_VERSION={0}".format(self.version.dotted)] + if self.spec.satisfies("platform=darwin"): + args.append(self.define("CMAKE_MACOSX_RPATH", True)) return args |