aboutsummaryrefslogtreecommitdiff
path: root/ports/fmt/usage
diff options
context:
space:
mode:
Diffstat (limited to 'ports/fmt/usage')
-rw-r--r--ports/fmt/usage7
1 files changed, 7 insertions, 0 deletions
diff --git a/ports/fmt/usage b/ports/fmt/usage
new file mode 100644
index 000000000..c9988aa79
--- /dev/null
+++ b/ports/fmt/usage
@@ -0,0 +1,7 @@
+The package fmt provides CMake targets:
+
+ find_package(fmt CONFIG REQUIRED)
+ target_link_libraries(main PRIVATE fmt::fmt)
+
+ # Or use the header-only version
+ target_link_libraries(main PRIVATE fmt::fmt-header-only)