mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 05:38:59 +08:00
50a5ff3563
* [folly]: update to 2023.05.15 * remove no more used patch * fix mvfst * fix rsocket * revert indent * fix space
31 lines
987 B
CMake
31 lines
987 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO facebookincubator/mvfst
|
|
REF aeee9b372827cea28697755ea1f68bfc5288548a #2023-05-18
|
|
SHA512 feece3f05537b58270507d9423cc95fe577532997b857586aa49c2000516f3297c487696b659a35f194f0e970b8e84ff0c1a7446d4af7b400a2183704df995a2
|
|
HEAD_REF main
|
|
PATCHES
|
|
fix_format.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DBUILD_TESTS=OFF
|
|
-DBUILD_EXAMPLES=OFF
|
|
)
|
|
|
|
# Prefer installed config files
|
|
file(REMOVE
|
|
"${SOURCE_PATH}/fizz/cmake/FindGMock.cmake"
|
|
"${SOURCE_PATH}/fizz/cmake/FindGflags.cmake"
|
|
"${SOURCE_PATH}/fizz/cmake/FindGlog.cmake"
|
|
"${SOURCE_PATH}/fizz/cmake/FindLibevent.cmake"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/mvfst)
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|