mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-06 19:38:20 +08:00
25 lines
709 B
CMake
25 lines
709 B
CMake
|
vcpkg_fail_port_install(ON_TARGET "Windows")
|
||
|
|
||
|
vcpkg_from_github(
|
||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||
|
REPO facebookincubator/mvfst
|
||
|
REF 531b935a
|
||
|
SHA512 47683907e5c19aa7392bffc0f23378636e73e03bbbd598640d20042234a9385ac7ca2fb8202905e1c101713bfb3467df78b12fd1629ca83a3ccf2bae2f58a2e1
|
||
|
HEAD_REF main
|
||
|
)
|
||
|
|
||
|
|
||
|
vcpkg_cmake_configure(
|
||
|
SOURCE_PATH "${SOURCE_PATH}"
|
||
|
OPTIONS
|
||
|
-DBUILD_TESTS=OFF
|
||
|
-DBUILD_EXAMPLES=OFF
|
||
|
)
|
||
|
|
||
|
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)
|
||
|
|