2018-10-12 13:03:05 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO facebookincubator/fizz
|
2023-06-01 03:24:33 +08:00
|
|
|
REF "v${VERSION}"
|
2023-07-06 02:59:03 +08:00
|
|
|
SHA512 c7140b61529ee024e3c99e65d175acb8277fa7bc0090019188481b57c5253d8f5b96a01c28df4a1d00bae67e1f9079d409c2a7f526e933c7fe2f3c2a12fd92ac
|
2018-10-12 13:03:05 +08:00
|
|
|
HEAD_REF master
|
2019-06-26 07:11:45 +08:00
|
|
|
PATCHES
|
2022-02-01 03:27:37 +08:00
|
|
|
0001-fix-libsodium.patch
|
2022-02-17 11:56:04 +08:00
|
|
|
0002-fix-libevent.patch
|
2023-04-12 14:01:31 +08:00
|
|
|
0003-fix-deps.patch
|
2018-10-12 13:03:05 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
# Prefer installed config files
|
|
|
|
file(REMOVE
|
2022-11-08 08:14:23 +08:00
|
|
|
"${SOURCE_PATH}/fizz/cmake/FindGMock.cmake"
|
|
|
|
"${SOURCE_PATH}/fizz/cmake/FindGflags.cmake"
|
|
|
|
"${SOURCE_PATH}/fizz/cmake/FindGlog.cmake"
|
|
|
|
"${SOURCE_PATH}/fizz/cmake/FindLibevent.cmake"
|
2018-10-12 13:03:05 +08:00
|
|
|
)
|
|
|
|
|
2022-02-10 05:05:38 +08:00
|
|
|
vcpkg_cmake_configure(
|
2018-10-12 13:03:05 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}/fizz"
|
|
|
|
OPTIONS
|
|
|
|
-DBUILD_TESTS=OFF
|
2019-05-17 09:33:32 +08:00
|
|
|
-DBUILD_EXAMPLES=OFF
|
2018-10-12 13:03:05 +08:00
|
|
|
-DINCLUDE_INSTALL_DIR:STRING=include
|
|
|
|
)
|
|
|
|
|
2022-02-10 05:05:38 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/fizz)
|
2018-10-12 13:03:05 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
[boost] update to 1.76.0 (#17335)
* [boost] update generator script for boost 1.76
* [boost] update ports to 1.76.0 (run generator)
* [boost] fix windows build?
* [quantlib] update and fix mac build
* [symengine] update and fix build
* [avro-cpp] update to latest master and fix windows build
* [folly] update to 2021.05.31.00
* [fbthrift, fizz, wangle] update to v2021.05.31.00 and fix build
* [proxygen] update to version 2021.05.31.00
* [fizz, proxygen, fbthrift] fix sodium target
* [proxygen] also works on macOS
* [quantlib] use fix from upstream to fix mac build
* [symengine] minimize patch file and fix deprecation warning
* [folly,proxygen,wangle,fizz,fbthrift] update to 2021.06.14.00
* [fbthrift] remove unnecessary dependency rsocket
I couldn't find any information that this dependency exists. The term is used in the code, but not in the context of a dependency
* [fizz,fbthrift] fix zlib dependency
* [fbthrift] pass required flex executable to cmake configure
* add version files
* [boost] generate-ports.ps1: Apply code review
* [boost] changes from new version of generate-ports script
* update version files
* [boost] generate-ports.ps1: Apply code review
2021-07-08 03:31:06 +08:00
|
|
|
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/fizz/fizz-config.cmake" "lib/cmake/fizz" "share/fizz")
|
2018-10-12 13:03:05 +08:00
|
|
|
|
2022-02-10 05:05:38 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2018-10-12 13:03:05 +08:00
|
|
|
|
2020-10-28 11:44:41 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/fizz/tool/test" "${CURRENT_PACKAGES_DIR}/include/fizz/util/test")
|
|
|
|
|
2023-07-06 02:59:03 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|