diff --git a/userspace/falco/CMakeLists.txt b/userspace/falco/CMakeLists.txt index 8d47d9d2..e6196aac 100644 --- a/userspace/falco/CMakeLists.txt +++ b/userspace/falco/CMakeLists.txt @@ -110,20 +110,24 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT MINIMAL_BUILD) if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND USE_BUNDLED_GRPC) list(APPEND FALCO_DEPENDENCIES grpc) - list(APPEND FALCO_LIBRARIES "${GRPC_LIBRARIES}") + endif() + + if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND USE_BUNDLED_CURL) + list(APPEND FALCO_DEPENDENCIES curl) endif() list( APPEND FALCO_LIBRARIES httplib::httplib + "${CURL_LIBRARIES}" "${GRPCPP_LIB}" "${GRPC_LIB}" "${GPR_LIB}" + "${GRPC_LIBRARIES}" "${PROTOBUF_LIB}" "${CARES_LIB}" "${OPENSSL_LIBRARIES}" - "${CURL_LIBRARIES}" ) endif()