diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2022-04-28 18:16:04 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2022-04-28 18:16:04 +0300 |
commit | 91bd63a196cefe98efc12e4979ad557aa78ff98a (patch) | |
tree | 0de0964779d20bc105079d981508ee6124b073ec /GNUmakefile | |
parent | 22f5c05cb39a0296db55e3bb5e45d26e5670f7c1 (diff) |
CMake: Reduce dependencies of USD
`PXR_ENABLE_OSL_SUPPORT=OFF`: OpenShadingLanguage is an optional
dependency of the Imaging module. However, since that module was
included for its support for converting primitive shapes (sphere, cube,
etc.) to geometry, OSL is not necessary. Disabling it will make it
simpler to build Blender; currently only Cycles uses OSL.
`PXR_ENABLE_GL_SUPPORT=OFF`: GL support on Linux also links to X11
libraries. Enabling it would break headless or Wayland-only builds.
OpenGL support would be useful if someone wants to work on a Hydra
viewport in Blender; when that's actually being worked on, we could
patch in a new PXR_ENABLE_X11_SUPPORT option (to separate OpenGL from
X11) and contribute it upstream.
`PXR_BUILD_OPENIMAGEIO_PLUGIN=OFF`: It's used for loading image textures
in Hydra Storm / Embree renderers which we don't use.
Reviewed By: LazyDodo, brecht, makowalski
Differential Revision: https://developer.blender.org/D14792
Diffstat (limited to 'GNUmakefile')
0 files changed, 0 insertions, 0 deletions