From 38b838e405648210640b9e3aa54f42c3c60ef189 Mon Sep 17 00:00:00 2001 From: Martin Aumüller Date: Tue, 26 Nov 2024 16:59:10 +0100 Subject: openscenegraph: remove X11 dependencies for macos (#39037) --- var/spack/repos/builtin/packages/openscenegraph/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/openscenegraph/package.py b/var/spack/repos/builtin/packages/openscenegraph/package.py index 9d257c5c71..ed8cd8af66 100644 --- a/var/spack/repos/builtin/packages/openscenegraph/package.py +++ b/var/spack/repos/builtin/packages/openscenegraph/package.py @@ -58,8 +58,8 @@ class Openscenegraph(CMakePackage): ) # Qt windowing system was moved into separate osgQt project depends_on("qt@4:", when="@3.2:3.5.4") depends_on("qt@:4", when="@:3.1") - depends_on("libxinerama") - depends_on("libxrandr") + depends_on("libxinerama", when="platform=linux") + depends_on("libxrandr", when="platform=linux") depends_on("libpng") depends_on("jasper") depends_on("libtiff") -- cgit v1.2.3-70-g09d2