blender: fix build error
This commit is contained in:
parent
3bf443d46a
commit
8fe3b43891
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = lib.optional stdenv.isDarwin ./darwin.patch;
|
patches = lib.optional stdenv.isDarwin ./darwin.patch;
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ] ++ optional cudaSupport addOpenGLRunpath;
|
nativeBuildInputs = [ cmake makeWrapper ] ++ optional cudaSupport addOpenGLRunpath;
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ boost ffmpeg gettext glew ilmbase
|
[ boost ffmpeg gettext glew ilmbase
|
||||||
freetype libjpeg libpng libsamplerate libsndfile libtiff
|
freetype libjpeg libpng libsamplerate libsndfile libtiff
|
||||||
@ -41,9 +41,9 @@ stdenv.mkDerivation rec {
|
|||||||
alembic
|
alembic
|
||||||
(opensubdiv.override { inherit cudaSupport; })
|
(opensubdiv.override { inherit cudaSupport; })
|
||||||
tbb
|
tbb
|
||||||
makeWrapper
|
|
||||||
embree
|
embree
|
||||||
gmp
|
gmp
|
||||||
|
pugixml
|
||||||
]
|
]
|
||||||
++ (if (!stdenv.isDarwin) then [
|
++ (if (!stdenv.isDarwin) then [
|
||||||
libXi libX11 libXext libXrender
|
libXi libX11 libXext libXrender
|
||||||
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
|||||||
openvdb
|
openvdb
|
||||||
]
|
]
|
||||||
else [
|
else [
|
||||||
pugixml llvmPackages.openmp SDL Cocoa CoreGraphics ForceFeedback OpenAL OpenGL
|
llvmPackages.openmp SDL Cocoa CoreGraphics ForceFeedback OpenAL OpenGL
|
||||||
])
|
])
|
||||||
++ optional jackaudioSupport libjack2
|
++ optional jackaudioSupport libjack2
|
||||||
++ optional cudaSupport cudatoolkit
|
++ optional cudaSupport cudatoolkit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user