mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-13 05:22:34 +00:00
fix(userspace): fixed engine openssl
dep.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
committed by
poiana
parent
835ac52f4f
commit
80d52963d6
@@ -36,6 +36,14 @@ if(EMSCRIPTEN)
|
|||||||
target_compile_options(falco_engine PRIVATE "-sDISABLE_EXCEPTION_CATCHING=0")
|
target_compile_options(falco_engine PRIVATE "-sDISABLE_EXCEPTION_CATCHING=0")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(ENGINE_LIBRARIES sinsp nlohmann_json::nlohmann_json yaml-cpp)
|
||||||
|
|
||||||
|
if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT MINIMAL_BUILD)
|
||||||
|
# Used by falco_utils.cpp
|
||||||
|
add_dependencies(falco_engine openssl)
|
||||||
|
list(APPEND ENGINE_LIBRARIES "${OPENSSL_LIBRARIES}")
|
||||||
|
endif()
|
||||||
|
|
||||||
target_include_directories(falco_engine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${TBB_INCLUDE_DIR})
|
target_include_directories(falco_engine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${TBB_INCLUDE_DIR})
|
||||||
|
|
||||||
target_link_libraries(falco_engine PUBLIC sinsp nlohmann_json::nlohmann_json yaml-cpp)
|
target_link_libraries(falco_engine PUBLIC ${ENGINE_LIBRARIES})
|
||||||
|
@@ -68,7 +68,7 @@ set(FALCO_INCLUDE_DIRECTORIES
|
|||||||
)
|
)
|
||||||
|
|
||||||
set(FALCO_DEPENDENCIES cxxopts)
|
set(FALCO_DEPENDENCIES cxxopts)
|
||||||
set(FALCO_LIBRARIES falco_engine sinsp yaml-cpp)
|
set(FALCO_LIBRARIES falco_engine)
|
||||||
|
|
||||||
if(USE_JEMALLOC)
|
if(USE_JEMALLOC)
|
||||||
list(APPEND FALCO_DEPENDENCIES jemalloc)
|
list(APPEND FALCO_DEPENDENCIES jemalloc)
|
||||||
@@ -127,7 +127,6 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT MINIMAL_BUILD)
|
|||||||
"${GRPC_LIBRARIES}"
|
"${GRPC_LIBRARIES}"
|
||||||
"${PROTOBUF_LIB}"
|
"${PROTOBUF_LIB}"
|
||||||
"${CARES_LIB}"
|
"${CARES_LIB}"
|
||||||
"${OPENSSL_LIBRARIES}"
|
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user