From 7a18795ca59b9c5f89df52d7b86d991d4abd67df Mon Sep 17 00:00:00 2001 From: Federico Aponte Date: Wed, 14 Feb 2024 18:56:31 +0100 Subject: [PATCH] cleanup: falco_engine deps and include paths Signed-off-by: Federico Aponte --- CMakeLists.txt | 1 - userspace/engine/CMakeLists.txt | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bb593992449..bcfb1470673 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -179,7 +179,6 @@ include(rules) include(static-analysis) # Shared build variables -set(FALCO_SINSP_LIBRARY sinsp) set(FALCO_SHARE_DIR share/falco) set(FALCO_ABSOLUTE_SHARE_DIR "${CMAKE_INSTALL_PREFIX}/${FALCO_SHARE_DIR}") set(FALCO_BIN_DIR bin) diff --git a/userspace/engine/CMakeLists.txt b/userspace/engine/CMakeLists.txt index 43d274da11b..372c4d906ae 100644 --- a/userspace/engine/CMakeLists.txt +++ b/userspace/engine/CMakeLists.txt @@ -37,14 +37,14 @@ add_dependencies(falco_engine yamlcpp njson) target_include_directories(falco_engine PUBLIC - ${LIBS_DIR}/userspace - ${PROJECT_BINARY_DIR}/userspace/engine + ${CMAKE_CURRENT_SOURCE_DIR} ${nlohmann_json_INCLUDE_DIRS} ${TBB_INCLUDE_DIR} ${YAMLCPP_INCLUDE_DIR} ) target_link_libraries(falco_engine - ${FALCO_SINSP_LIBRARY} +PUBLIC + sinsp ${YAMLCPP_LIB} )