Skip to content

Commit

Permalink
Merge branch 'isa_grpc_lib_fix' into 'devel'
Browse files Browse the repository at this point in the history
LIB-EXT-GRPC: [BUGFIX] Add required libraries

See merge request ndk/swbase!135
  • Loading branch information
martinspinler committed Nov 12, 2024
2 parents 631592a + a89ce0e commit 5d089b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/libnfb_ext_grpc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ project(libnfb-ext-grpc C CXX)
include(GNUInstallDirs)

find_package(Protobuf CONFIG)
find_package(gRPC QUIET)

set(PROTO_FILES nfb_grpc.proto)

add_library(nfb-ext-grpc SHARED nfb_grpc_client.cc)
add_executable(nfb-grpc-server nfb_grpc_server.cc)

if (EXISTS ${Protobuf_DIR})
find_package(gRPC CONFIG)
if (${gRPC_FOUND})

include_directories(${Protobuf_INCLUDE_DIRS})
include_directories(${CMAKE_CURRENT_BINARY_DIR})
Expand Down

0 comments on commit 5d089b3

Please sign in to comment.