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

[build_usd] win: only add -A if generator supports it (ie, not ninja) #2192

Merged

Conversation

pmolodo
Copy link
Contributor

@pmolodo pmolodo commented Jan 24, 2023

Description of Change(s)

build_usd.py would error on VS2019+ systems when building with --generator Ninja. Fixes by only adding the -A flag to cmake if the generator supports it (ie, Visual Studio * generators do, Ninja doesn't.)

Fixes Issue(s)

  • error when building on windows + VS2019+ with Ninja generator
  • I have verified that all unit tests pass with the proposed changes
  • I have submitted a signed Contributor License Agreement

@sunyab
Copy link
Contributor

sunyab commented Jan 27, 2023

Filed as internal issue #USD-7912

@pixar-oss pixar-oss merged commit 7f61ef7 into PixarAnimationStudios:dev Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants