提交 9bd660df 编写于 作者: R Raaj 提交者: Gines

Mac Update CmakeLists Boost fix (#687)

上级 936e1ba5
...@@ -257,7 +257,7 @@ endif (${GPU_MODE} MATCHES "OPENCL" OR (UNIX OR APPLE)) ...@@ -257,7 +257,7 @@ endif (${GPU_MODE} MATCHES "OPENCL" OR (UNIX OR APPLE))
# Caffe OpenCL Boost Issue # Caffe OpenCL Boost Issue
if (APPLE) if (APPLE)
if (${GPU_MODE} MATCHES "OPENCL") if (${GPU_MODE} MATCHES "OPENCL" OR BUILD_PYTHON)
unset(Boost_SYSTEM_LIBRARY CACHE) unset(Boost_SYSTEM_LIBRARY CACHE)
find_package(Boost COMPONENTS system REQUIRED) find_package(Boost COMPONENTS system REQUIRED)
else () else ()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册