mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
Merge pull request #238524 from wegank/openscenegraph-darwin
openscenegraph: unbreak on darwin
This commit is contained in:
commit
d81aaef072
@ -39,8 +39,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config cmake doxygen ];
|
||||
|
||||
buildInputs = [
|
||||
buildInputs = lib.optionals (!stdenv.isDarwin) [
|
||||
libX11 libXinerama libXrandr libGLU libGL
|
||||
] ++ [
|
||||
glib ilmbase libxml2 pcre zlib
|
||||
] ++ lib.optional jpegSupport libjpeg
|
||||
++ lib.optional exrSupport openexr
|
||||
@ -62,6 +63,7 @@ stdenv.mkDerivation rec {
|
||||
++ lib.optional sdlSupport SDL2
|
||||
++ lib.optional restSupport asio
|
||||
++ lib.optionals withExamples [ fltk ]
|
||||
++ lib.optionals (!stdenv.isDarwin) [ ]
|
||||
++ lib.optionals stdenv.isDarwin [ AGL Accelerate Carbon Cocoa Foundation ]
|
||||
++ lib.optional (restSupport || colladaSupport) boost
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user