[caffe-contrib] 42/362: cmake: fix rpath issue

Zhou Mo cdluminate-guest at moszumanska.debian.org
Tue May 3 09:24:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

cdluminate-guest pushed a commit to branch master
in repository caffe-contrib.

commit d7fbf2351221cde8bd452f015e8d44cc793709da
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Sun Jul 12 01:09:28 2015 +0000

    cmake: fix rpath issue
---
 debian/patches/04-fix-rpath-issue-in-cmake.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/patches/04-fix-rpath-issue-in-cmake.patch b/debian/patches/04-fix-rpath-issue-in-cmake.patch
new file mode 100644
index 0000000..23722f4
--- /dev/null
+++ b/debian/patches/04-fix-rpath-issue-in-cmake.patch
@@ -0,0 +1,10 @@
+--- a/cmake/Misc.cmake
++++ b/cmake/Misc.cmake
+@@ -31,6 +31,7 @@
+ # ---[ RPATH settings
+ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE CACHE BOOLEAN "Use link paths for shared library rpath")
+ set(CMAKE_MACOSX_RPATH TRUE)
++set(CMAKE_SKIP_RPATH   TRUE)
+ 
+ list(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES ${CMAKE_INSTALL_PREFIX}/lib __is_systtem_dir)
+ if(${__is_systtem_dir} STREQUAL -1)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/caffe-contrib.git



More information about the debian-science-commits mailing list