Browse Source

!437 fix static protobuf install path error

From: @nicholas_yhr
Reviewed-by: @liujunzhu,@youui
Signed-off-by: @youui
tags/v1.1.0
mindspore-ci-bot Gitee 3 years ago
parent
commit
015d0b5a93
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cmake/external_libs/protobuf_static.cmake

+ 1
- 1
cmake/external_libs/protobuf_static.cmake View File

@@ -42,7 +42,7 @@ include(GNUInstallDirs)
add_library(ascend_protobuf_static_lib STATIC IMPORTED)

set_target_properties(ascend_protobuf_static_lib PROPERTIES
IMPORTED_LOCATION ${PROTOBUF_STATIC_PKG_DIR}/lib64/libascend_protobuf.a
IMPORTED_LOCATION ${PROTOBUF_STATIC_PKG_DIR}/${CMAKE_INSTALL_LIBDIR}/libascend_protobuf.a
)

add_library(ascend_protobuf_static INTERFACE)


Loading…
Cancel
Save