aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/fmt/usage
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/fmt/usage')
-rw-r--r--vcpkg/ports/fmt/usage8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcpkg/ports/fmt/usage b/vcpkg/ports/fmt/usage
new file mode 100644
index 0000000..e5a9d70
--- /dev/null
+++ b/vcpkg/ports/fmt/usage
@@ -0,0 +1,8 @@
+The package fmt provides CMake targets:
+
+ find_package(fmt CONFIG REQUIRED)
+ 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)