mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-31 06:10:45 +00:00
build: use secure grpc when it is not bundled
Signed-off-by: Lorenzo Fontana <lo@linux.com>
This commit is contained in:
committed by
Lorenzo Fontana
parent
13931ab5d7
commit
8069eacc94
@@ -589,8 +589,8 @@ endif()
|
||||
set(GRPC_INCLUDE ${GRPCPP_INCLUDE})
|
||||
add_definitions(-DGRPC_INCLUDE_IS_GRPCPP=1)
|
||||
endif()
|
||||
find_library(GRPC_LIB NAMES grpc_unsecure)
|
||||
find_library(GRPCPP_LIB NAMES grpc++_unsecure)
|
||||
find_library(GRPC_LIB NAMES grpc)
|
||||
find_library(GRPCPP_LIB NAMES grpc++)
|
||||
if(GRPC_INCLUDE AND GRPC_LIB AND GRPCPP_LIB)
|
||||
message(STATUS "Found grpc: include: ${GRPC_INCLUDE}, C lib: ${GRPC_LIB}, C++ lib: ${GRPCPP_LIB}")
|
||||
else()
|
||||
|
Reference in New Issue
Block a user