Skip to content

Commit

Permalink
Set default INSTALL_RPATH for all libraries to $ORIGIN.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed May 12, 2022
1 parent 40fabfe commit c5cde6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rapids-cmake/cython/create_modules.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ function(rapids_cython_create_modules)
endif()
install(TARGETS ${cython_module} DESTINATION ${RAPIDS_CYTHON_INSTALL_DIR})

# Default the INSTALL_RPATH for all modules to $ORIGIN.
set_target_properties(${cython_module} PROPERTIES INSTALL_RPATH "\$ORIGIN")

list(APPEND CREATED_TARGETS "${cython_module}")
endforeach()

Expand Down

0 comments on commit c5cde6e

Please sign in to comment.