diff --git a/cmake/phi_header.cmake b/cmake/phi_header.cmake index c3da8c70536f49c691619b89273b003246790d72..7596b59e71c76e08baa32eae00001f29068e8930 100644 --- a/cmake/phi_header.cmake +++ b/cmake/phi_header.cmake @@ -53,4 +53,6 @@ file(RENAME ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/include/experimental/ext_all.h) # Included header file of training and inference can be unified as single file: paddle/extension.h file(COPY ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/include/experimental/ext_all.h - DESTINATION ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/extension.h) + DESTINATION ${PADDLE_INFERENCE_INSTALL_DIR}/paddle) +file(RENAME ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/ext_all.h + ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/extension.h)