diff --git a/lite/CMakeLists.txt b/lite/CMakeLists.txt index 1c1fc1b0deadc9b16cbd3b30be6f062aa5d63212..2734a684702413d39f3d746d4f995d41122c9f39 100644 --- a/lite/CMakeLists.txt +++ b/lite/CMakeLists.txt @@ -327,7 +327,6 @@ if (LITE_WITH_LIGHT_WEIGHT_FRAMEWORK AND LITE_WITH_ARM) add_dependencies(publish_inference tiny_publish_cxx_lib) if(NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Debug") add_custom_command(TARGET tiny_publish_cxx_lib POST_BUILD - COMMAND ${CMAKE_STRIP} "-s" ${INFER_LITE_PUBLISH_ROOT}/cxx/lib/libpaddle_api_light_bundled.a COMMAND ${CMAKE_STRIP} "-s" ${INFER_LITE_PUBLISH_ROOT}/cxx/lib/libpaddle_light_api_shared.so) endif() endif()