From 18bcfdf92b2fedc50503b02097c8ae64c0899fda Mon Sep 17 00:00:00 2001 From: debloip Date: Mon, 25 Mar 2024 16:13:50 -0400 Subject: [PATCH] HYDRA-861 : Re-add existing line about MAYA_MODULE_PATH --- cmake/test.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/test.cmake b/cmake/test.cmake index 5358b5540f..c5bf6b674d 100644 --- a/cmake/test.cmake +++ b/cmake/test.cmake @@ -394,6 +394,10 @@ finally: endif() endforeach() + # Unset any MAYA_MODULE_PATH as we set all the individual variables + # so we don't want to conflict with a MayaUsd module. + set_property(TEST ${test_name} APPEND PROPERTY ENVIRONMENT "MAYA_MODULE_PATH=") + # set all env vars foreach(pathvar ${ALL_PATH_VARS}) set_property(TEST "${test_name}" APPEND PROPERTY ENVIRONMENT