Browse Source

2024.5.14 测试Findgrpc

master
Administrator 1 year ago
parent
commit
8dcc0bc310
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bin_test_grpc/CMakeLists.txt

+ 2
- 2
bin_test_grpc/CMakeLists.txt

@ -22,8 +22,8 @@ if(CLEAN_CMAKE_CACHE)
endif () endif ()
# GRPC and Protocol Buffers libraries location # GRPC and Protocol Buffers libraries location
list(APPEND CMAKE_PREFIX_PATH "${LIB_BASE_DIR}/grpc-build" "${LIB_BASE_DIR}/protobuf-build") list(APPEND CMAKE_PREFIX_PATH "${LIB_BASE_DIR}/grpc-build" "${LIB_BASE_DIR}/protobuf-build")
find_package(Protobuf REQUIRED)
find_package(GRPC REQUIRED)
find_package(protobuf REQUIRED)
find_package(gRPC REQUIRED)
set(PROTO_DIR ${CMAKE_CURRENT_SOURCE_DIR}) set(PROTO_DIR ${CMAKE_CURRENT_SOURCE_DIR})
add_custom_command( add_custom_command(

Loading…
Cancel
Save