From ce112d7238a532847cf485900a66f3e585c7b097 Mon Sep 17 00:00:00 2001 From: Leonardo Di Donato Date: Wed, 18 Dec 2019 15:51:37 +0000 Subject: [PATCH] build: remove unused code from main CMakeLists.txt Co-authored-by: Lorenzo Fontana Signed-off-by: Leonardo Di Donato --- CMakeLists.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9fd415fa..66496958 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -106,11 +106,6 @@ include(ExternalProject) # jq include(jq) -# jsoncpp -set(JSONCPP_SRC "${SYSDIG_DIR}/userspace/libsinsp/third-party/jsoncpp") -set(JSONCPP_INCLUDE "${JSONCPP_SRC}") -set(JSONCPP_LIB_SRC "${JSONCPP_SRC}/jsoncpp.cpp") - # nlohmann-json set(NJSON_SRC "${PROJECT_BINARY_DIR}/njson-prefix/src/njson") message(STATUS "Using bundled nlohmann-json in '${NJSON_SRC}'") @@ -279,6 +274,9 @@ add_subdirectory(rules) # Dockerfiles add_subdirectory(docker) +# # Clang format add_custom_target( format COMMAND clang-format --style=file -i $ COMMENT +# "Formatting ..." VERBATIM) + # shared build variables set(FALCO_SINSP_LIBRARY sinsp) set(FALCO_SHARE_DIR share/falco)