diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b21d33489dbce4894ae323fc62dafd5f59fdb31..2b6006c59fa4561f72210ba0e82f6ee9e6141982 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,7 +84,6 @@ include(flags) if (NOT CLIENT_ONLY) include(external/cudnn) include(paddlepaddle) -include(external/opencv) endif() message("paddle serving source dir: " ${PADDLE_SERVING_SOURCE_DIR}) @@ -124,7 +123,6 @@ endif() if (NOT CLIENT_ONLY) list(APPEND EXTERNAL_LIBS paddlepaddle) - list(APPEND EXTERNAL_LIBS opencv) endif() add_subdirectory(core) diff --git a/core/general-server/CMakeLists.txt b/core/general-server/CMakeLists.txt index a1b5e01fdb9f62236b37d85679dd1515a1d35cb6..87d1c284dba2b098ac065f5e86f7506a79c0141f 100644 --- a/core/general-server/CMakeLists.txt +++ b/core/general-server/CMakeLists.txt @@ -2,8 +2,7 @@ include_directories(SYSTEM ${CMAKE_CURRENT_LIST_DIR}/../kvdb/include) include(op/CMakeLists.txt) include(proto/CMakeLists.txt) add_executable(serving ${serving_srcs}) -add_dependencies(serving pdcodegen fluid_cpu_engine pdserving paddle_fluid - opencv_imgcodecs cube-api utils) +add_dependencies(serving pdcodegen fluid_cpu_engine pdserving paddle_fluid cube-api utils) if (WITH_GPU) add_dependencies(serving fluid_gpu_engine) endif()