diff options
-rw-r--r-- | var/spack/repos/builtin/packages/gl2ps/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gl2ps/package.py b/var/spack/repos/builtin/packages/gl2ps/package.py index 09030efe44..f64d3e4423 100644 --- a/var/spack/repos/builtin/packages/gl2ps/package.py +++ b/var/spack/repos/builtin/packages/gl2ps/package.py @@ -43,6 +43,9 @@ class Gl2ps(CMakePackage): self.define("OPENGL_egl_LIBRARY", "IGNORE"), self.define("OPENGL_glu_LIBRARY", "IGNORE"), ] + if spec.satisfies("platform=darwin"): + options.append(self.define("CMAKE_MACOSX_RPATH", True)) + if "~doc" in spec: # Make sure we don't look. options.append(self.define("CMAKE_DISABLE_FIND_PACKAGE_LATEX", True)) |