From 71a0d0d186339e7ecd7d875447278010e105cdd7 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Tue, 20 Feb 2024 16:49:30 +0100 Subject: [PATCH] fix(cmake): properly let falcoctl cmake module create `/usr/share/falco/plugins/` folder. Signed-off-by: Federico Di Pierro --- cmake/modules/falcoctl.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/modules/falcoctl.cmake b/cmake/modules/falcoctl.cmake index 10dbe0c4d8b..529a5c4c805 100644 --- a/cmake/modules/falcoctl.cmake +++ b/cmake/modules/falcoctl.cmake @@ -35,3 +35,4 @@ ExternalProject_Add( INSTALL_COMMAND "") install(PROGRAMS "${PROJECT_BINARY_DIR}/falcoctl-prefix/src/falcoctl/falcoctl" DESTINATION "${FALCO_BIN_DIR}" COMPONENT "${FALCO_COMPONENT_NAME}") +install(DIRECTORY DESTINATION "${FALCO_ABSOLUTE_SHARE_DIR}/plugins" COMPONENT "${FALCO_COMPONENT_NAME}")