Page MenuHome

CMake: prepare USD build & find scripts for USD >= 21.11
ClosedPublic

Authored by Sybren A. Stüvel (sybren) on Mar 14 2022, 12:39 PM.

Details

Summary

Since USD 21.11 the libraries are prefixed with "usd_", i.e. "libusd_m.a" became "libusd_usd_m.a". This commit adjusts our usd.cmake (for building USD) and FindUSD.cmake (for finding the USD libraries) so that they work with and without this usd_ prefix.

Only tested on Linux, not on macOS/Windows.

See for more info: https://github.com/PixarAnimationStudios/USD/blob/release/CHANGELOG.md#2111---2021-11-01

Diff Detail

Repository
rB Blender
Branch
usd-2203-prepare
Build Status
Buildable 21020
Build 21020: arc lint + arc unit

Event Timeline

Sybren A. Stüvel (sybren) requested review of this revision.Mar 14 2022, 12:39 PM
Sybren A. Stüvel (sybren) created this revision.
This revision is now accepted and ready to land.Mar 14 2022, 12:47 PM
This revision now requires review to proceed.Mar 14 2022, 12:48 PM
This revision is now accepted and ready to land.Mar 14 2022, 5:26 PM