aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorNancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>2021-04-29 08:08:29 +0800
committerGitHub <noreply@github.com>2021-04-28 17:08:29 -0700
commit345921bce4ee724d4c5b164eb93d051667d2d990 (patch)
tree062f102a0bcf27af1ccb519096bab41873a3f114 /ports
parent0e9dd06bd39381794c03a15d7154adab23cb5137 (diff)
downloadvcpkg-345921bce4ee724d4c5b164eb93d051667d2d990.tar.gz
vcpkg-345921bce4ee724d4c5b164eb93d051667d2d990.zip
[fmt] Update usage (#17279)
Diffstat (limited to 'ports')
-rw-r--r--ports/fmt/usage1
-rw-r--r--ports/fmt/vcpkg.json2
2 files changed, 2 insertions, 1 deletions
diff --git a/ports/fmt/usage b/ports/fmt/usage
index c9988aa79..e5a9d7048 100644
--- a/ports/fmt/usage
+++ b/ports/fmt/usage
@@ -4,4 +4,5 @@ The package fmt provides CMake targets:
target_link_libraries(main PRIVATE fmt::fmt)
# Or use the header-only version
+ find_package(fmt CONFIG REQUIRED)
target_link_libraries(main PRIVATE fmt::fmt-header-only)
diff --git a/ports/fmt/vcpkg.json b/ports/fmt/vcpkg.json
index 591a93b1b..232801247 100644
--- a/ports/fmt/vcpkg.json
+++ b/ports/fmt/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "fmt",
"version": "7.1.3",
- "port-version": 3,
+ "port-version": 4,
"description": "Formatting library for C++. It can be used as a safe alternative to printf or as a fast alternative to IOStreams.",
"homepage": "https://github.com/fmtlib/fmt",
"dependencies": [