Skip to content

Commit 38b838e

Browse files
authored
openscenegraph: remove X11 dependencies for macos (spack#39037)
1 parent c037188 commit 38b838e

File tree

1 file changed

+2
-2
lines changed
  • var/spack/repos/builtin/packages/openscenegraph

1 file changed

+2
-2
lines changed

var/spack/repos/builtin/packages/openscenegraph/package.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ class Openscenegraph(CMakePackage):
5858
) # Qt windowing system was moved into separate osgQt project
5959
depends_on("qt@4:", when="@3.2:3.5.4")
6060
depends_on("qt@:4", when="@:3.1")
61-
depends_on("libxinerama")
62-
depends_on("libxrandr")
61+
depends_on("libxinerama", when="platform=linux")
62+
depends_on("libxrandr", when="platform=linux")
6363
depends_on("libpng")
6464
depends_on("jasper")
6565
depends_on("libtiff")

0 commit comments

Comments
 (0)