Browse Source

fix static protobuf install path error

tags/v1.1.0
yanghaoran 3 years ago
parent
commit
84b1f78847
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