From cfb0817a9aa80e7133c3f06d0e499dcfe873583f Mon Sep 17 00:00:00 2001 From: "ADS\\perrauo" Date: Thu, 12 Jan 2023 23:17:19 -0500 Subject: [PATCH] MAYA-126175: fix plugInfo to use relative path instead of build system path --- lib/mayaUsd/sceneIndex/CMakeLists.txt | 1 - lib/mayaUsd/sceneIndex/plugInfo.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/mayaUsd/sceneIndex/CMakeLists.txt b/lib/mayaUsd/sceneIndex/CMakeLists.txt index 979e1fb94b..b69120fd92 100644 --- a/lib/mayaUsd/sceneIndex/CMakeLists.txt +++ b/lib/mayaUsd/sceneIndex/CMakeLists.txt @@ -36,7 +36,6 @@ elseif(IS_LINUX) endif() set(PLUG_INFO_DIR ${CMAKE_INSTALL_PREFIX}/lib/usd/sceneIndex/resources) -set(PLUG_INFO_ROOT ${CMAKE_INSTALL_PREFIX}/lib) configure_file( plugInfo.json diff --git a/lib/mayaUsd/sceneIndex/plugInfo.json b/lib/mayaUsd/sceneIndex/plugInfo.json index 36da5d10d4..d07ff109a9 100644 --- a/lib/mayaUsd/sceneIndex/plugInfo.json +++ b/lib/mayaUsd/sceneIndex/plugInfo.json @@ -14,7 +14,7 @@ "LibraryPath": "@PLUG_INFO_LIBRARY_PATH@", "Name": "mayaUsd", "ResourcePath": "resources", - "Root": "@PLUG_INFO_ROOT@", + "Root": "../../..", "Type": "library" } ]