Skip to content

Commit

Permalink
Merge pull request #1793 from Autodesk/boudrey/MAYA-114428/diffcore
Browse files Browse the repository at this point in the history
MAYA-114428 Compile mayapy on Linux and OSX to avoid search path issues.
  • Loading branch information
Krystian Ligenza authored Oct 29, 2021
2 parents 4ed455c + 59164b5 commit 30e0ef2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmake/test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,12 @@ finally:
"MAYA_DISABLE_CIP=1"
"MAYA_DISABLE_CER=1")

if(IS_MACOSX)
# Necessary for tests like DiffCore to find python
set_property(TEST "${test_name}" APPEND PROPERTY ENVIRONMENT
"DYLD_LIBRARY_PATH=${MAYA_LOCATION}/MacOS:$ENV{DYLD_LIBRARY_PATH}")
endif()

if (PREFIX_INTERACTIVE)
# Add the "interactive" label to all tests that launch the Maya UI.
# This allows bypassing them by using the --label-exclude/-LE option to
Expand Down

0 comments on commit 30e0ef2

Please sign in to comment.