[Folly] add vcpkg_cmake_wrapper.cmake (#24471)

* add vcpkg-cmake-wrapper.cmake

* update version

* overwrite version

* Include all custom cmake module files

* update version

* update version

* overwrite version
This commit is contained in:
Frank 2022-07-15 05:59:34 +08:00 committed by GitHub
parent 3a6ad4bc7a
commit 8b62d95a81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 2 deletions

View File

@ -67,6 +67,8 @@ vcpkg_cmake_install(ADD_BIN_TO_PATH)
vcpkg_copy_pdbs()
configure_file("${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" "${CURRENT_PACKAGES_DIR}/share/${PORT}/vcpkg-cmake-wrapper.cmake" @ONLY)
vcpkg_cmake_config_fixup()
# Release folly-targets.cmake does not link to the right libraries in debug mode.

View File

@ -0,0 +1,6 @@
set(FOLLY_PREV_MODULE_PATH ${CMAKE_MODULE_PATH})
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR})
_find_package(${ARGS})
set(CMAKE_MODULE_PATH ${FOLLY_PREV_MODULE_PATH})

View File

@ -1,7 +1,7 @@
{
"name": "folly",
"version-string": "2022.03.21.00",
"port-version": 1,
"port-version": 2,
"description": "An open-source C++ library developed and used at Facebook. The library is UNSTABLE on Windows",
"homepage": "https://github.com/facebook/folly",
"license": "Apache-2.0",

View File

@ -2322,7 +2322,7 @@
},
"folly": {
"baseline": "2022.03.21.00",
"port-version": 1
"port-version": 2
},
"font-chef": {
"baseline": "1.1.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9d2f0850a514d305b6b3b56833185aaf7f6154e1",
"version-string": "2022.03.21.00",
"port-version": 2
},
{
"git-tree": "c1b11303819bf16b4cde18fdc8e6511b7bb34ed7",
"version-string": "2022.03.21.00",