Skip to content

Commit

Permalink
rpath fix for linux (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
soumith committed Nov 16, 2014
1 parent 0750218 commit 104cee3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/TorchPathsInit.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ IF(UNIX)
OPTION(WITH_RPATH "Build libraries with executable rpaths" ON)

IF(WITH_RPATH)
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
FILE(RELATIVE_PATH Torch_INSTALL_BIN2LIB
"${Torch_INSTALL_BIN}" "${Torch_INSTALL_LIB}")
IF(APPLE)
Expand Down

0 comments on commit 104cee3

Please sign in to comment.