mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
python311Packages.openusd: also build with materialx support
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
parent
cc7c7fa6d2
commit
eb5f1e64f3
@ -18,6 +18,8 @@
|
||||
lib,
|
||||
libGL,
|
||||
libX11,
|
||||
libXt,
|
||||
materialx,
|
||||
ninja,
|
||||
numpy,
|
||||
opencolorio,
|
||||
@ -86,6 +88,7 @@ buildPythonPackage rec {
|
||||
(lib.cmakeBool "PXR_BUILD_PYTHON_DOCUMENTATION" withDocs)
|
||||
(lib.cmakeBool "PXR_BUILD_USDVIEW" withUsdView)
|
||||
(lib.cmakeBool "PXR_BUILD_USD_TOOLS" withTools)
|
||||
(lib.cmakeBool "PXR_ENABLE_MATERIALX_SUPPORT" true)
|
||||
(lib.cmakeBool "PXR_ENABLE_OSL_SUPPORT" (!stdenv.isDarwin && withOsl))
|
||||
];
|
||||
|
||||
@ -111,6 +114,7 @@ buildPythonPackage rec {
|
||||
embree
|
||||
flex
|
||||
imath
|
||||
materialx
|
||||
opencolorio
|
||||
openimageio
|
||||
opensubdiv
|
||||
@ -120,6 +124,7 @@ buildPythonPackage rec {
|
||||
++ lib.optionals stdenv.isLinux [
|
||||
libGL
|
||||
libX11
|
||||
libXt
|
||||
]
|
||||
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk_11_0.frameworks; [ Cocoa ])
|
||||
++ lib.optionals withOsl [ osl ]
|
||||
|
Loading…
Reference in New Issue
Block a user