pythia6: set CMAKE_MACOSX_RPATH=True to build on macos (#33082)
This commit is contained in:
parent
a4651a2a02
commit
a2d7776c95
@ -153,4 +153,6 @@ def setup_build_environment(self, env):
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user