Package: caffe / 1.0.0~rc4-1

cmake-link-correct-python-lib.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: fix BTBFS bug #850989
Forward: keep it here.
diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake
index ae9ce8e..87d0858 100644
--- a/cmake/Dependencies.cmake
+++ b/cmake/Dependencies.cmake
@@ -137,7 +137,8 @@ if(BUILD_python)
       endif()
     endwhile()
     if(NOT Boost_PYTHON_FOUND)
-      find_package(Boost 1.46 COMPONENTS python)
+      find_package(Boost 1.46 COMPONENTS python-py35)
+      set(Boost_PYTHON_FOUND ${Boost_PYTHON-PY35_FOUND})
     endif()
   else()
     # disable Python 3 search