Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAYA-124244 MacOS: mayausd doesn't load on older Mac systems. (10.15.7) #2453

Merged
merged 1 commit into from
Jul 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,14 @@ set(PXR_OVERRIDE_PLUGINPATH_NAME PXR_PLUGINPATH_NAME
# Avoid noisy install messages
set(CMAKE_INSTALL_MESSAGE "NEVER")

if (BUILD_UB2)
set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64")
else()
set(CMAKE_OSX_ARCHITECTURES "x86_64")
if(APPLE)
if(BUILD_UB2)
set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64")
set(CMAKE_OSX_DEPLOYMENT_TARGET 11.0)
else()
set(CMAKE_OSX_ARCHITECTURES "x86_64")
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.14)
endif()
endif()

set(CMAKE_MODULE_PATH
Expand Down