message: Added the rpath to the installed build so that the plugin and it's dependencies are loadable (without any changes in the LD_LIBRARY_PATH etc.)
diff: @@ -50,6 +50,8 @@ include_directories( ${TENSORFLOW_INCLUDE_DIR} )
  include_directories( ${TENSORFLOW_INCLUDE_DIR}/external/nsync/public )
  include_directories( ${NGRAPH_DIR}/include )
  +set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
  +
  add_library( tensorflow_xla_plugin_framework SHARED IMPORTED)
  set_target_properties(
  tensorflow_xla_plugin_framework
  @@ -89,5 +91,16 @@ target_compile_definitions(
  _GLIBCXX_USE_CXX11_ABI=1
  )
  +set( NGRAPH_INSTALL_DIR ${TENSORFLOW_DIR}/plugins)
  +message( STATUS "NGRAPH_INSTALL_DIR: " ${NGRAPH_INSTALL_DIR})
  +
  +set(CMAKE_INSTALL_PREFIX ${NGRAPH_INSTALL_DIR})
  +
  +install(
  + TARGETS
  + ${NGRAPH_TENSORFLOW_BRIDGE_LIB_NAME}
  + LIBRARY DESTINATION ${NGRAPH_INSTALL_LIB} ./
  +)
  +
  