Skip to content

Commit

Permalink
fix fmt11
Browse files Browse the repository at this point in the history
  • Loading branch information
jimwang118 committed Dec 26, 2024
1 parent 7571339 commit cabfc41
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ports/spdlog/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
vcpkg_download_distfile(FMT_PATCH
URLS https://github.com/gabime/spdlog/pull/3301/commits/e693420a38b58d29a56b3ea921e15b175a5f2843.patch?full_index=1
FILENAME fix-fmt-e693420a38b58d29a56b3ea921e15b175a5f2843.patch
SHA512 03871e96d5d7059066f1a671381578a9430cdd26221cec9f1193d047e16b582c320511da7bce7c939301c634d1a677ff6121dffa465d32c35b3e9ee89cb3ab49
)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO gabime/spdlog
Expand All @@ -6,6 +12,7 @@ vcpkg_from_github(
HEAD_REF v1.x
PATCHES
fix-msvc-utf8.patch
"${FMT_PATCH}"
)

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
Expand Down
2 changes: 1 addition & 1 deletion ports/spdlog/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "spdlog",
"version-semver": "1.15.0",
"port-version": 1,
"port-version": 2,
"description": "Very fast, header-only/compiled, C++ logging library.",
"homepage": "https://github.com/gabime/spdlog",
"license": "MIT",
Expand Down

0 comments on commit cabfc41

Please sign in to comment.