gl2ps: set CMAKE_MACOSX_RPATH=True to build (#32777)
This commit is contained in:
parent
b37a1ec12b
commit
17d9960424
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,9 @@ def cmake_args(self):
|
||||||
self.define("OPENGL_egl_LIBRARY", "IGNORE"),
|
self.define("OPENGL_egl_LIBRARY", "IGNORE"),
|
||||||
self.define("OPENGL_glu_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:
|
if "~doc" in spec:
|
||||||
# Make sure we don't look.
|
# Make sure we don't look.
|
||||||
options.append(self.define("CMAKE_DISABLE_FIND_PACKAGE_LATEX", True))
|
options.append(self.define("CMAKE_DISABLE_FIND_PACKAGE_LATEX", True))
|
||||||
|
|
Loading…
Reference in a new issue