Add rpaths to Maya plugin on macOS for locating the HAPIL library in a
developer environment and also in a launcher-installed user environment.
At the same time, I removed the INSTALL_RPATH_USE_LINK_PATH option because
that was adding a hard-coded '/Users/prisms' path to the plugin's rpath.
@@ -175,7 +175,7 @@ elseif ( ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" )
plugin
PROPERTIES
MACOSX_RPATH TRUE
- INSTALL_RPATH_USE_LINK_PATH TRUE
+ INSTALL_RPATH "@loader_path/${install_plug_ins_dir_to_houdiniengine_lib_dir};@loader_path/../../Frameworks/Houdini.framework/Versions/Current/Libraries"
)
endif ()
