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

[usdMaya] [tests] cmake should use $MAYA_BASE_DIR not $MAYA_LOCATION #203

Merged

Conversation

pmolodo
Copy link
Contributor

@pmolodo pmolodo commented Apr 18, 2017

...as this is the only cmake-variable guaranteed to be set after FindMaya runs

Description of Change(s)

Makes the CMakeLists.txt use $MAYA_BASE_DIR, since $MAYA_LOCATION may not be defined.

Included Commit(s)

Fixes Issue(s)

  • Allows tests to work properly in situations where cmake was not called with an explicit "-D MAYA_LOCATION=/path/to/maya", but instead relies on setting $MAYA_LOCATION as shell environment variable (where it is then converted to the MAYA_BASE_DIR cmake-variable)

...as this is the only cmake-variable guaranteed to be set after FindMaya runs
@pixar-oss pixar-oss merged commit 11ed4f3 into PixarAnimationStudios:dev May 5, 2017
pixar-oss added a commit that referenced this pull request May 5, 2017
[usdMaya] [tests] cmake should use $MAYA_BASE_DIR not $MAYA_LOCATION
@sirpalee sirpalee deleted the tests_use_maya_base_dir branch May 15, 2017 02:09
AdamFelt pushed a commit to autodesk-forks/USD that referenced this pull request Apr 16, 2024
…sea/OGSMOD-2701

OGSMOD-2701: Merge USD public to Adsk/dev
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.

2 participants