From c80684fa1365644df9ee910500051a576e06e4ff Mon Sep 17 00:00:00 2001 From: MRXLT Date: Fri, 28 Aug 2020 10:32:03 +0800 Subject: [PATCH] fix infer compile bug (#26689) --- cmake/inference_lib.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/inference_lib.cmake b/cmake/inference_lib.cmake index 7e446bfab1b..3ae3a87e3cf 100644 --- a/cmake/inference_lib.cmake +++ b/cmake/inference_lib.cmake @@ -167,7 +167,7 @@ copy(inference_lib_dist SRCS ${CMAKE_BINARY_DIR}/paddle/fluid/framework/framework.pb.h DSTS ${FLUID_INFERENCE_INSTALL_DIR}/paddle/include/internal) copy(inference_lib_dist - SRCS ${CMAKE_BINARY_DIR}/../paddle/fluid/framework/io/crypto/cipher.h + SRCS ${PADDLE_SOURCE_DIR}/paddle/fluid/framework/io/crypto/cipher.h DSTS ${FLUID_INFERENCE_INSTALL_DIR}/paddle/include/crypto/) include_directories(${CMAKE_BINARY_DIR}/../paddle/fluid/framework/io) # CAPI inference library for only inference -- GitLab