a15e35c4eb
This is a dependency of newer sysdig. It contains the driver, and also a few userspace components. The latter however are not meant to be installed in the sysroot; instead, the whole thing is meant to be included directly in the build of the project using it. Changing things so it does work in the normal way of installing to the sysroot turns out to be pretty complicated. Basically, falcosecurity-libs is just a component of sysdig. It's defined as a separate package only because that's an easier way to download it than defining extra download and extract commands in sysdig itself. For this reason, it's defined as a blind option in Config.in. Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From 2e8a50cd4975df3ab60ee07c9675831cd5ad397f Mon Sep 17 00:00:00 2001
|
|
From: Francis Laniel <flaniel@linux.microsoft.com>
|
|
Date: Tue, 12 Apr 2022 19:54:11 +0100
|
|
Subject: [PATCH] cmake: Permit setting GRPC_CPP_PLUGIN.
|
|
|
|
This patch enables users to set GRPC_CPP_PLUGIN while calling cmake with:
|
|
cmake -DGRPC_CPP_PLUGIN=/path
|
|
|
|
Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
|
|
---
|
|
cmake/modules/grpc.cmake | 6 ++++--
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/cmake/modules/grpc.cmake b/cmake/modules/grpc.cmake
|
|
index e5fd16b8..9d8f5934 100644
|
|
--- a/cmake/modules/grpc.cmake
|
|
+++ b/cmake/modules/grpc.cmake
|
|
@@ -12,9 +12,11 @@ elseif(NOT USE_BUNDLED_GRPC)
|
|
set(GRPCPP_LIB gRPC::grpc++)
|
|
|
|
# gRPC C++ plugin
|
|
- get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION)
|
|
if(NOT GRPC_CPP_PLUGIN)
|
|
- message(FATAL_ERROR "System grpc_cpp_plugin not found")
|
|
+ get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION)
|
|
+ if(NOT GRPC_CPP_PLUGIN)
|
|
+ message(FATAL_ERROR "System grpc_cpp_plugin not found")
|
|
+ endif()
|
|
endif()
|
|
|
|
# gRPC include dir + properly handle grpc{++,pp}
|
|
--
|
|
2.25.1
|
|
|