Skip to content

Commit

Permalink
CMake dependency to boost regex
Browse files Browse the repository at this point in the history
  • Loading branch information
tnarihi committed Mar 31, 2015
1 parent fd8bcf6 commit 29ffd98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ if(BUILD_python)
if(PYTHONLIBS_FOUND AND NUMPY_FOUND AND Boost_PYTHON_FOUND)
set(HAVE_PYTHON TRUE)
if(BUILD_python_layer)
find_package(Boost 1.46 COMPONENTS regex)
add_definitions(-DWITH_PYTHON_LAYER)
include_directories(SYSTEM ${PYTHON_INCLUDE_DIRS} ${NUMPY_INCLUDE_DIR} ${Boost_INCLUDE_DIRS})
list(APPEND Caffe_LINKER_LIBS ${PYTHON_LIBRARIES} ${Boost_LIBRARIES})
Expand Down

0 comments on commit 29ffd98

Please sign in to comment.