diff options
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/cmake/platform/platform_apple.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake index d99d7ec3c0c..a5f79c58ab1 100644 --- a/build_files/cmake/platform/platform_apple.cmake +++ b/build_files/cmake/platform/platform_apple.cmake @@ -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) |