From 42c48c3a82201b871f8c90341074ebd9791901b0 Mon Sep 17 00:00:00 2001 From: peizhilin Date: Wed, 14 Nov 2018 11:37:43 +0800 Subject: [PATCH] fix --- cmake/inference_lib.cmake | 1 + paddle/fluid/inference/analysis/CMakeLists.txt | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/cmake/inference_lib.cmake b/cmake/inference_lib.cmake index dc6906bfb3c..729bdcb3dc5 100644 --- a/cmake/inference_lib.cmake +++ b/cmake/inference_lib.cmake @@ -188,6 +188,7 @@ copy(inference_lib DEPS ${inference_deps} ${src_dir}/${module}/api/paddle_*.h ${PADDLE_BINARY_DIR}/paddle/fluid/inference/api/paddle_inference_pass.h DSTS ${dst_dir}/${module} ${dst_dir}/${module} ${dst_dir}/${module} ${dst_dir}/${module} + ) set(module "platform") copy(platform_lib DEPS profiler_py_proto diff --git a/paddle/fluid/inference/analysis/CMakeLists.txt b/paddle/fluid/inference/analysis/CMakeLists.txt index 07a45ece02b..344aecaae57 100644 --- a/paddle/fluid/inference/analysis/CMakeLists.txt +++ b/paddle/fluid/inference/analysis/CMakeLists.txt @@ -21,10 +21,6 @@ cc_library(analysis SRCS cc_test(test_dot SRCS dot_tester.cc DEPS analysis) -if(WIN32) - target_link_libraries(inference_analyzer shlwapi) -endif(WIN32) - function (inference_analysis_test TARGET) if(WITH_TESTING) set(options "") -- GitLab