Skip to content

Commit

Permalink
remove grpc-c++ package from CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
nam20485 committed Jan 18, 2025
1 parent 9e6cb27 commit 8a3df45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions OdbDesignLib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ target_link_libraries(OdbDesign PUBLIC protobuf::libprotobuf)
# add the generated Protobuf C++ files to the target
#target_sources(OdbDesign PRIVATE ${PROTO_SRCS} ${PROTO_HDRS})

# gRPC
find_package(gRPC CONFIG REQUIRED)
target_link_libraries(OdbDesign PUBLIC gRPC::grpc++)
# # gRPC
# find_package(gRPC CONFIG REQUIRED)
# target_link_libraries(OdbDesign PUBLIC gRPC::grpc++)

# workaround to remove error: "C++ command-line error: invalid macro definition: _CROW_ICD-NOTFOUND"
# (see https://github.com/CrowCpp/Crow/issues/661#issuecomment-1702544225)
Expand Down

0 comments on commit 8a3df45

Please sign in to comment.