From 5ac9c22633d3dacf3b37e56e8680a8255ebe252f Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Fri, 10 Mar 2017 17:10:14 +0800 Subject: [PATCH] Install shared lib --- paddle/capi/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/capi/CMakeLists.txt b/paddle/capi/CMakeLists.txt index f5827317b..7fd15e103 100644 --- a/paddle/capi/CMakeLists.txt +++ b/paddle/capi/CMakeLists.txt @@ -61,7 +61,7 @@ link_paddle_exe(paddle_capi_shared) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${capi_whole_library} DESTINATION lib) install(FILES ${CAPI_HEADER} DESTINATION include/paddle) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h DESTINATION include/paddle) - +install(TARGETS paddle_capi_shared DESTINATION lib) # this variable used for unittest set(PADDLE_CAPI_INC_PATH -- GitLab