Browse Source

fix static protobuf install path error

pull/439/head
yanghaoran taoxiangdong 5 years ago
parent
commit
fee45c056b
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