update fmt to 8.1.1 and fix build
MODIFY
cmake/Findfmt.cmake
cmake/Findfmt.cmake
@@ -4,7 +4,7 @@ include(FetchContent)
FetchContent_Declare(
fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt
- GIT_TAG d141cdbeb0fb422a3fb7173b285fd38e0d1772dc # 8.0.1
+ GIT_TAG b6f4ceaed0a0a24ccf575fab6c56dd50ccf6f1a9 # 8.1.1
)
if(NOT fmt_FIND_REQUIRED)

MODIFY
src/vcpkg/sourceparagraph.cpp
src/vcpkg/sourceparagraph.cpp
@@ -974,7 +974,7 @@ namespace vcpkg
next();
auto last = it().pointer_to_current();
add_error(msg::format(msgLicenseExpressionContainsUnicode,
- msg::value = ch,
+ msg::value = static_cast<uint32_t>(ch),
msg::pretty_value = StringView{first, last}));
break;
}

update fmt to 8.1.1 and fix build (#356)