[mp-units] Update to version 2.1.0 (#35689)

* Update mp-units to 2.1.0

* vcpkg database update

* Patch updated

* Update database
This commit is contained in:
Ómar Högni Guðmarsson 2023-12-15 06:52:38 +00:00 committed by GitHub
parent 9021cb001a
commit 4eb186792a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 8 deletions

View File

@ -1,17 +1,16 @@
diff --git a/src/mp-unitsConfig.cmake b/src/mp-unitsConfig.cmake
index 10f82a82..ea637abd 100644
index 519b180b..6005e9f8 100644
--- a/src/mp-unitsConfig.cmake
+++ b/src/mp-unitsConfig.cmake
@@ -42,10 +42,10 @@ endfunction()
@@ -23,9 +23,9 @@
include(CMakeFindDependencyMacro)
if(MP_UNITS_USE_LIBFMT)
- find_dependency(fmt)
+ find_dependency(fmt CONFIG)
+ find_dependency(fmt CONFIG)
endif()
-find_dependency(gsl-lite)
+find_dependency(gsl-lite CONFIG)
# add range-v3 dependency only for clang + libc++
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
include("${CMAKE_CURRENT_LIST_DIR}/mp-unitsTargets.cmake")

View File

@ -6,7 +6,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mpusz/units
REF "v${VERSION}"
SHA512 994922a391ed5c1d0e023545beeb0bbeb8ec067be408f715d553e509d9106cdb5b27cfbaa69f0ca1a27cdf9532edacaff7d2cabaafd54b1713f9c8add93bc389
SHA512 d23589ba6e5e18e3477a9bab9fe25cffed5e8777862b4811e4335e294f86d129a48c7e001d57cec0739ddd1f0a936e42d06f2b4782b1bd8b8bb15f86f8d32d53
PATCHES
config.patch
)

View File

@ -1,6 +1,6 @@
{
"name": "mp-units",
"version": "2.0.0",
"version": "2.1.0",
"description": "mp-units - A Units Library for C++",
"homepage": "https://github.com/mpusz/units",
"license": "MIT",

View File

@ -5697,7 +5697,7 @@
"port-version": 0
},
"mp-units": {
"baseline": "2.0.0",
"baseline": "2.1.0",
"port-version": 0
},
"mp3lame": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8ecbe0c671bd440c941d9c88fb326743a5584f00",
"version": "2.1.0",
"port-version": 0
},
{
"git-tree": "f410b971351069e2e9f1b140104a8e836b76c1b8",
"version": "2.0.0",