[caffe-contrib] 229/362: patch: add avoid-cmake-configgen-error.patch
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Tue May 3 09:24:35 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 e20919d1944cb97446241bc94ae2f2cd25e7aba7
Author: Zhou Mo <cdluminate at gmail.com>
Date: Sat Sep 5 01:45:00 2015 +0000
patch: add avoid-cmake-configgen-error.patch
---
debian/patches/avoid-cmake-configgen-error.patch | 11 +++++++++++
debian/patches/series | 1 +
2 files changed, 12 insertions(+)
diff --git a/debian/patches/avoid-cmake-configgen-error.patch b/debian/patches/avoid-cmake-configgen-error.patch
new file mode 100644
index 0000000..f75c8e4
--- /dev/null
+++ b/debian/patches/avoid-cmake-configgen-error.patch
@@ -0,0 +1,11 @@
+--- a/cmake/ConfigGen.cmake
++++ b/cmake/ConfigGen.cmake
+@@ -77,7 +77,7 @@
+ # remove source and build dir includes
+ caffe_get_items_with_prefix(${PROJECT_SOURCE_DIR} Caffe_INCLUDE_DIRS __insource)
+ caffe_get_items_with_prefix(${PROJECT_BINARY_DIR} Caffe_INCLUDE_DIRS __inbinary)
+- list(REMOVE_ITEM Caffe_INCLUDE_DIRS ${__insource} ${__inbinary})
++ list(REMOVE_ITEM Caffe_INCLUDE_DIRS ${__insource} ${__inbinary} "")
+
+ # add `install` include folder
+ set(lines
diff --git a/debian/patches/series b/debian/patches/series
index b7b0593..14d18f4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
remove-ignore.patch
fix-cmake-add-target-property-version-soversion.patch
+avoid-cmake-configgen-error.patch
--
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