diff options
author | Laurent Aphecetche <laurent.aphecetche@gmail.com> | 2022-10-07 20:53:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 11:53:41 -0700 |
commit | a2d7776c95920109c879f10b7d6e953f3190776d (patch) | |
tree | a8c2756678ddbbb55b0331990244e1a1f5a9350b /var | |
parent | a4651a2a02920729a0050b2739ea36fc7d315802 (diff) | |
download | spack-a2d7776c95920109c879f10b7d6e953f3190776d.tar.gz spack-a2d7776c95920109c879f10b7d6e953f3190776d.tar.bz2 spack-a2d7776c95920109c879f10b7d6e953f3190776d.tar.xz spack-a2d7776c95920109c879f10b7d6e953f3190776d.zip |
pythia6: set CMAKE_MACOSX_RPATH=True to build on macos (#33082)
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 |