fix(ports): use lib/cmake/mimalloc config path in mimalloc port file (#22238)

* fix(ports): use lib/cmake/mimalloc config path in vcpkg_cmake_config_fixup in mimalloc portfile.cmake

* chore(versions): update mimalloc port version

* chore(versions): update versions database
This commit is contained in:
wangao 2021-12-30 03:29:15 +08:00 committed by GitHub
parent d54131d520
commit 363892de9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 2 deletions

View File

@ -45,7 +45,7 @@ file(COPY
"${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/mimalloc)
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
vcpkg_replace_string(

View File

@ -1,6 +1,7 @@
{
"name": "mimalloc",
"version": "2.0.3",
"port-version": 1,
"description": "Compact general purpose allocator with excellent performance",
"homepage": "https://github.com/microsoft/mimalloc",
"supports": "!(arm | uwp)",

View File

@ -4398,7 +4398,7 @@
},
"mimalloc": {
"baseline": "2.0.3",
"port-version": 0
"port-version": 1
},
"minc": {
"baseline": "2.4.03",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "0b8064b8481fdeb88e2b4933c485ea0f6b99d779",
"version": "2.0.3",
"port-version": 1
},
{
"git-tree": "6e1b6fbd3bff2cae13325183c95aa07ed470b6ad",
"version": "2.0.3",