1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-04-18 17:24:03 +03:00
mvfst/cmake/mvfst-config.cmake.in
Joseph Beshay c6d8f76e67 Refactor AckScheduler to use it in both PacketScheduler and PacketRebuilder
Summary: The logic for deciding which ACK type to write was duplicated in QuicPacketScheduler and QuicPacketRebuilder. This refactors the logic out into a separate QuicAckScheduler so it can be tested for correction and reused in both places.

Reviewed By: sharmafb

Differential Revision: D69933311

fbshipit-source-id: e4f45688a5d258dd2a57f9f7844407f3efad5f49
2025-02-24 12:32:50 -08:00

73 lines
1.9 KiB
CMake

# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
#
# This module sets the following variables:
# mvfst_FOUND
# mvfst_INCLUDE_DIRS
#
# This module exports the following target:
# mvfst::mvfst
#
# which can be used with target_link_libraries() to pull in the mvfst
# library.
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
find_dependency(folly)
find_dependency(Fizz)
find_dependency(Threads)
find_dependency(Boost COMPONENTS iostreams system thread filesystem regex context)
if(NOT TARGET mvfst::mvfst_transport)
include("${CMAKE_CURRENT_LIST_DIR}/mvfst-targets.cmake")
get_target_property(mvfst_INCLUDE_DIRS mvfst::mvfst_transport INTERFACE_INCLUDE_DIRECTORIES)
endif()
set(mvfst_LIBRARIES
mvfst::mvfst_ack_scheduler
mvfst::mvfst_constants
mvfst::mvfst_exception
mvfst::mvfst_transport
mvfst::mvfst_client
mvfst::mvfst_codec_types
mvfst::mvfst_codec_decode
mvfst::mvfst_codec_pktbuilder
mvfst::mvfst_codec_pktrebuilder
mvfst::mvfst_codec_packet_number_cipher
mvfst::mvfst_codec
mvfst::mvfst_looper
mvfst::mvfst_buf_accessor
mvfst::mvfst_bufutil
mvfst::mvfst_transport_knobs
mvfst::mvfst_cc_algo
mvfst::mvfst_dsr_types
mvfst::mvfst_dsr_frontend
mvfst::mvfst_fizz_client
mvfst::mvfst_fizz_handshake
mvfst::mvfst_flowcontrol
mvfst::mvfst_handshake
mvfst::mvfst_happyeyeballs
mvfst::mvfst_qlogger
mvfst::mvfst_loss
mvfst::mvfst_observer
mvfst::mvfst_server
mvfst::mvfst_server_async_tran
mvfst::mvfst_server_state
mvfst::mvfst_state_machine
mvfst::mvfst_state_ack_handler
mvfst::mvfst_state_datagram_handler
mvfst::mvfst_state_stream_functions
mvfst::mvfst_state_pacing_functions
mvfst::mvfst_state_functions
mvfst::mvfst_state_simple_frame_functions
mvfst::mvfst_state_stream
)
if(NOT mvfst_FIND_QUIETLY)
message(STATUS "Found mvfst: ${PACKAGE_PREFIX_DIR}")
endif()