mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:59:06 +08:00
[mp-units] update to 2.2.1 (#40951)
This commit is contained in:
parent
50c08d3885
commit
a82a798206
@ -6,20 +6,14 @@ vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO mpusz/units
|
||||
REF "v${VERSION}"
|
||||
SHA512 7968b215c6b27a7a988ce41235139a57be6bb849db6d6ea0df46b0a40d279d4be4c53646c5a4bf695fb9e70ff4967d3fd443fec8ee40c4ab7f0c90d8695632c3
|
||||
SHA512 40bf0921e7411bb2adc5151bd9e09f759d3bcb4adffcb2861922c605731ed1ad1f1a56f89c4f734fab16843f36f5a67b244ce3e6e54e82b86e57c4a5d5e0fc59
|
||||
PATCHES
|
||||
config.patch
|
||||
)
|
||||
|
||||
set(USE_STD_FORMAT TRUE)
|
||||
if ("use-libfmt" IN_LIST FEATURES)
|
||||
set(USE_STD_FORMAT FALSE)
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}/src"
|
||||
OPTIONS
|
||||
-DMP_UNITS_API_STD_FORMAT=${USE_STD_FORMAT}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
@ -1,10 +1,11 @@
|
||||
{
|
||||
"name": "mp-units",
|
||||
"version": "2.2.0",
|
||||
"version": "2.2.1",
|
||||
"description": "mp-units - A Units Library for C++",
|
||||
"homepage": "https://github.com/mpusz/units",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
"fmt",
|
||||
"gsl-lite",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
@ -14,28 +15,5 @@
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"default-features": [
|
||||
"default-features"
|
||||
],
|
||||
"features": {
|
||||
"default-features": {
|
||||
"description": "Platform specific default features",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "mp-units",
|
||||
"features": [
|
||||
"use-libfmt"
|
||||
],
|
||||
"platform": "osx"
|
||||
}
|
||||
]
|
||||
},
|
||||
"use-libfmt": {
|
||||
"description": "Use libfmt instead of std::format",
|
||||
"dependencies": [
|
||||
"fmt"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -5997,7 +5997,7 @@
|
||||
"port-version": 1
|
||||
},
|
||||
"mp-units": {
|
||||
"baseline": "2.2.0",
|
||||
"baseline": "2.2.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"mp3lame": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "bdc98457b93451bd4e80152a65ce8ec971aaddf0",
|
||||
"version": "2.2.1",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "32d38ebf2cf91ab717ba623e298ec889635ac4a6",
|
||||
"version": "2.2.0",
|
||||
|
Loading…
Reference in New Issue
Block a user