openscenegraph: fix build on darwin

This commit is contained in:
Weijia Wang 2023-04-27 21:11:16 +03:00
parent 8e5047b1f6
commit 4cdc34959b
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, doxygen,
libX11, libXinerama, libXrandr, libGLU, libGL,
glib, ilmbase, libxml2, pcre, zlib,
AGL, Carbon, Cocoa, Foundation,
AGL, Accelerate, Carbon, Cocoa, Foundation,
boost,
jpegSupport ? true, libjpeg,
exrSupport ? false, openexr,
@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
++ lib.optional sdlSupport SDL2
++ lib.optional restSupport asio
++ lib.optionals withExamples [ fltk ]
++ lib.optionals stdenv.isDarwin [ AGL Carbon Cocoa Foundation ]
++ lib.optionals stdenv.isDarwin [ AGL Accelerate Carbon Cocoa Foundation ]
++ lib.optional (restSupport || colladaSupport) boost
;

View file

@ -23064,7 +23064,7 @@ with pkgs;
opensaml-cpp = callPackage ../development/libraries/opensaml-cpp { };
openscenegraph = callPackage ../development/libraries/openscenegraph {
inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Foundation;
inherit (darwin.apple_sdk.frameworks) AGL Accelerate Carbon Cocoa Foundation;
};
openslide = callPackage ../development/libraries/openslide { };