Skip to content

Commit

Permalink
HYDRA-695 : Add missing rpaths to mayaHydraSceneBrowser (#27)
Browse files Browse the repository at this point in the history
* HYDRA-695 : Add missing rpaths to mayaHydraSceneBrowser

* Empty commit to re-trigger security checks
  • Loading branch information
debloip-adsk authored Dec 20, 2023
1 parent 24dbf2f commit dc253d7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions plugin/mayaHydraSceneBrowser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,17 @@ maya_set_plugin_properties(${TARGET_NAME})
if(IS_MACOSX OR IS_LINUX)
mayaUsd_init_rpath(rpath "lib/maya")
mayaUsd_add_rpath(rpath "${CMAKE_INSTALL_PREFIX}/lib")
if(DEFINED MAYAHYDRA_TO_USD_RELATIVE_PATH)
mayaUsd_add_rpath(rpath "../../${MAYAHYDRA_TO_USD_RELATIVE_PATH}/lib")
elseif(DEFINED PXR_USD_LOCATION)
mayaUsd_add_rpath(rpath "${PXR_USD_LOCATION}/lib")
endif()
if (IS_LINUX AND DEFINED MAYAHYDRA_TO_USD_RELATIVE_PATH)
mayaUsd_add_rpath(rpath "../../${MAYAHYDRA_TO_USD_RELATIVE_PATH}/lib64")
endif()
if(IS_MACOSX AND DEFINED MAYAHYDRA_TO_USD_RELATIVE_PATH)
mayaUsd_add_rpath(rpath "../../../../Maya.app/Contents/MacOS")
endif()
mayaUsd_install_rpath(rpath ${TARGET_NAME})
endif()

Expand Down

0 comments on commit dc253d7

Please sign in to comment.