From 4ba6483665a169b541b123a79a20bbf1ef0c8474 Mon Sep 17 00:00:00 2001 From: MRXLT Date: Wed, 26 Aug 2020 13:04:24 +0800 Subject: [PATCH] fix infer compile bug (#26641) --- 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 3e0a3bf8f5b..20f27715e00 100644 --- a/cmake/inference_lib.cmake +++ b/cmake/inference_lib.cmake @@ -189,7 +189,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) -- GitLab