From 05f5aa2af301e44d04b9034223356ebfecdaf722 Mon Sep 17 00:00:00 2001 From: Leonardo Grasso Date: Thu, 6 May 2021 15:43:51 +0200 Subject: [PATCH] chore(cmake/modules): do not build libscap examples Signed-off-by: Leonardo Grasso --- cmake/modules/falcosecurity-libs.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/modules/falcosecurity-libs.cmake b/cmake/modules/falcosecurity-libs.cmake index b9f9a71a..bd746cfb 100644 --- a/cmake/modules/falcosecurity-libs.cmake +++ b/cmake/modules/falcosecurity-libs.cmake @@ -49,8 +49,9 @@ if(NOT LIBSCAP_DIR) endif() set(LIBSINSP_DIR "${FALCOSECURITY_LIBS_SOURCE_DIR}") -# explicitly disable the tests of this dependency +# explicitly disable the tests/examples of this dependency set(CREATE_TEST_TARGETS OFF CACHE BOOL "") +set(BUILD_LIBSCAP_EXAMPLES OFF CACHE BOOL "") # todo(leogr): although Falco does not actually depend on chisels, we need this for the lua_parser. # Hopefully, we can switch off this in the future