Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/torch7.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2014-11-16 22:04:51 +0300
committerSoumith Chintala <soumith@gmail.com>2014-11-16 22:04:51 +0300
commit104cee3ecef6db5a876ce4135c0d296d72b713d4 (patch)
tree97bf6781c207cb4ceb4299968fa602a219a7f914 /cmake
parent07502189596669df9c39bfa79c5f2964503e865f (diff)
rpath fix for linux (again)
Diffstat (limited to 'cmake')
-rw-r--r--cmake/TorchPathsInit.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/TorchPathsInit.cmake b/cmake/TorchPathsInit.cmake
index 0ca0c7d..2b59c4a 100644
--- a/cmake/TorchPathsInit.cmake
+++ b/cmake/TorchPathsInit.cmake
@@ -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)