From efd425cb5edf52b7dbe5f6f19226ec5e29cf375d Mon Sep 17 00:00:00 2001 From: qiaolongfei Date: Tue, 15 May 2018 17:07:13 +0800 Subject: [PATCH] only copy header file of boost --- cmake/inference_lib.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/inference_lib.cmake b/cmake/inference_lib.cmake index 78857cf2a0f..54014055b4c 100644 --- a/cmake/inference_lib.cmake +++ b/cmake/inference_lib.cmake @@ -70,9 +70,9 @@ copy(glog_lib DSTS ${dst_dir} ${dst_dir}/lib ) -set(dst_dir "${CMAKE_INSTALL_PREFIX}/third_party/install/boost") +set(dst_dir "${CMAKE_INSTALL_PREFIX}/third_party/boost/include") copy(boost_lib - SRCS ${BOOST_INCLUDE_DIR} + SRCS ${BOOST_INCLUDE_DIR}/boost DSTS ${dst_dir} ) -- GitLab