diff --git a/cmake/third_party.cmake b/cmake/third_party.cmake index 71e1856147449f9c137034b8bb1e5424408a28b0..5c6147573797e49024618e433a743450d34761c4 100644 --- a/cmake/third_party.cmake +++ b/cmake/third_party.cmake @@ -393,7 +393,7 @@ endif (WIN32) if (WITH_INFRT) include(external/llvm) - list(APPEND third_party_deps external_llvm) + list(APPEND third_party_deps ${llvm_libs}) endif() if (WITH_IPU) diff --git a/paddle/infrt/CMakeLists.txt b/paddle/infrt/CMakeLists.txt index b8f6f4738d3e75ec0fe372506628d2247e565a9c..d24c632a2c8465bad5e29faa3e26e6180182863a 100644 --- a/paddle/infrt/CMakeLists.txt +++ b/paddle/infrt/CMakeLists.txt @@ -75,5 +75,5 @@ set(infrt_mlir_incs ) message(STATUS "infrt srcs:\n${infrt_src}") -cc_library(infrt SRCS ${infrt_src} DEPS glog ${mlir_libs} paddle_framework_proto) +cc_library(infrt SRCS ${infrt_src} DEPS glog boost ${mlir_libs} paddle_framework_proto) add_dependencies(infrt ${infrt_mlir_incs})