python311Packages.openusd: also build with materialx support

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
Florian Brandes 2024-04-29 22:17:04 +02:00
parent cc7c7fa6d2
commit eb5f1e64f3
No known key found for this signature in database
GPG Key ID: 074048E893713170

View File

@ -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 ]