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

Fixes for building with gcc 11 (still using old ABI). #2633

Merged
merged 1 commit into from
Sep 28, 2022

Conversation

seando-adsk
Copy link
Collaborator

No description provided.

@seando-adsk seando-adsk added the build Related to building maya-usd repository label Sep 28, 2022
@seando-adsk seando-adsk force-pushed the donnels/MAYA-125364/fix_for_gcc11_take2 branch from 53fce0c to 74fd234 Compare September 28, 2022 17:51
Comment on lines -277 to -281
# Force the use of ABI version 0 on Linux.
# This is what Maya has been using for 2019...2023
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
list(APPEND setting_list -D_GLIBCXX_USE_CXX11_ABI=0)
endif()
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had previously added this here, where it gets used as a cmake arg. That was incorrect. It is really a "CMAKE_CXX_FLAGS" value.

@seando-adsk seando-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Sep 28, 2022
@seando-adsk seando-adsk merged commit 207bb11 into dev Sep 28, 2022
@seando-adsk seando-adsk deleted the donnels/MAYA-125364/fix_for_gcc11_take2 branch September 28, 2022 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to building maya-usd repository ready-for-merge Development process is finished, PR is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants