From 01d5706b2b871ff5ff3d357570803b82485c8ba3 Mon Sep 17 00:00:00 2001 From: huzhiqiang <912790387@qq.com> Date: Fri, 1 Nov 2019 14:09:04 +0800 Subject: [PATCH] fix buf: model_optimize_tool can not compile preperly on mac environment (#2326) fix buf: model_optimize_tool can not compile preperly on mac environment (#2326) --- lite/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lite/CMakeLists.txt b/lite/CMakeLists.txt index 974c3e996a..21ed772fa8 100644 --- a/lite/CMakeLists.txt +++ b/lite/CMakeLists.txt @@ -112,10 +112,7 @@ if (LITE_WITH_X86) COMMAND mkdir -p "${INFER_LITE_PUBLISH_ROOT}/demo/cxx" ) add_dependencies(publish_inference_x86_cxx_lib publish_inference_x86_cxx_demos) - add_dependencies(publish_inference_x86_cxx_demos gflags eigen3 xbyak xxhash glog) - if(WITH_MKL) - add_dependencies(publish_inference_x86_cxx_demos mklml) - endif() + add_dependencies(publish_inference_x86_cxx_demos paddle_full_api_shared eigen3) endif() if (LITE_WITH_LIGHT_WEIGHT_FRAMEWORK AND LITE_WITH_ARM) -- GitLab