mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 22:49:01 +08:00
bdf073a835
* [folly] update to <v2022.10.24.00> * update version * update fizz to the latest version * update version * update mvfst to the latest version * update version * Apply review suggesstion * update version Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
29 lines
949 B
CMake
29 lines
949 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO facebookincubator/mvfst
|
|
REF 28857570ac808c5493312144dc5af92d6f0a7381 #2022-11-03
|
|
SHA512 3e413e8906ac83f48936871f24d06980bdeff8b7a659326498549afaa53321c047bcd843a7ed971bfed7ddb51e086a28c1ac5fb0f91aabd0a078dda6a75fe488
|
|
HEAD_REF main
|
|
)
|
|
|
|
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)
|