mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-04-18 17:24:03 +03:00
Summary: - as title Reviewed By: lnicco Differential Revision: D33513410 fbshipit-source-id: 282b6f512cf83b9abb7990402661135b658f7bd1
33 lines
911 B
CMake
33 lines
911 B
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 proxygen
|
|
# 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()
|
|
|
|
if(NOT mvfst_FIND_QUIETLY)
|
|
message(STATUS "Found mvfst: ${PACKAGE_PREFIX_DIR}")
|
|
endif()
|