USD: on Apple disable USD if library cannot be found
When building with `WITH_USD=ON` on Apple but the USD library cannot be found, the CMake script now just sets `WITH_USD=OFF`.
This commit is contained in:
parent
9b871683b1
commit
f8cdc5ac4c
@ -57,8 +57,10 @@ if(WITH_ALEMBIC)
|
||||
endif()
|
||||
|
||||
if(WITH_USD)
|
||||
set(USD_LIBRARIES ${LIBDIR}/usd/lib/libusd_m.a)
|
||||
SET(USD_INCLUDE_DIRS ${LIBDIR}/usd/include)
|
||||
find_package(USD)
|
||||
if(NOT USD_FOUND)
|
||||
set(WITH_USD OFF)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(WITH_OPENSUBDIV)
|
||||
|
Loading…
Reference in New Issue
Block a user