From 2f37df135db68ad4e7920f0d9285420184609409 Mon Sep 17 00:00:00 2001 From: Channingss Date: Sat, 16 May 2020 01:12:20 +0000 Subject: [PATCH] update code --- deploy/cpp/CMakeLists.txt | 4 ++++ deploy/cpp/include/paddlex/paddlex.h | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/deploy/cpp/CMakeLists.txt b/deploy/cpp/CMakeLists.txt index 1f89f3e..3d36620 100644 --- a/deploy/cpp/CMakeLists.txt +++ b/deploy/cpp/CMakeLists.txt @@ -291,6 +291,10 @@ endif() file(COPY "${CMAKE_SOURCE_DIR}/include/paddlex/visualize.h" DESTINATION "${CMAKE_BINARY_DIR}/include/" ) +file(COPY "${CMAKE_SOURCE_DIR}/include/paddlex/config_parser.h" +DESTINATION "${CMAKE_BINARY_DIR}/include/" ) +file(COPY "${CMAKE_SOURCE_DIR}/include/paddlex/transforms.h" +DESTINATION "${CMAKE_BINARY_DIR}/include/" ) file(COPY "${CMAKE_SOURCE_DIR}/include/paddlex/results.h" DESTINATION "${CMAKE_BINARY_DIR}/include/" ) file(COPY "${CMAKE_SOURCE_DIR}/include/paddlex/paddlex.h" diff --git a/deploy/cpp/include/paddlex/paddlex.h b/deploy/cpp/include/paddlex/paddlex.h index 68e6cec..d000728 100644 --- a/deploy/cpp/include/paddlex/paddlex.h +++ b/deploy/cpp/include/paddlex/paddlex.h @@ -28,9 +28,9 @@ #include "paddle_inference_api.h" // NOLINT -#include "include/paddlex/config_parser.h" -#include "include/paddlex/results.h" -#include "include/paddlex/transforms.h" +#include "config_parser.h" +#include "results.h" +#include "transforms.h" #ifdef WITH_ENCRYPTION #include "paddle_model_decrypt.h" -- GitLab