From a79b3b122c0b22e1ffa5701feb0f392a95e497a1 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Tue, 4 Feb 2025 10:33:53 +0100 Subject: [PATCH] chore(build): install container plugin as part of Falco install target. Signed-off-by: Federico Di Pierro --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 59edf171..5b6b5553 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -267,6 +267,12 @@ if(NOT WIN32 AND NOT MUSL_OPTIMIZED_BUILD ) include(falcoctl) + include(container_plugin) + install( + FILES "${PROJECT_BINARY_DIR}/container_plugin-prefix/src/libcontainer.so" + DESTINATION "${FALCO_ABSOLUTE_SHARE_DIR}/plugins" + COMPONENT "${FALCO_COMPONENT_NAME}" + ) endif() # Packages configuration