diff --git a/doc/usage.rst b/doc/usage.rst index 4d39882c..e8894cfc 100644 --- a/doc/usage.rst +++ b/doc/usage.rst @@ -74,7 +74,12 @@ or to exclude it from ``make``, ``make all``, or ``cmake --build .``. -Settting up your target to use a header-only version of ``fmt`` is equaly easy:: +You can detect and use an installed version of {fmt} as follows:: + + find_package(fmt) + target_link_libraries( fmt::fmt) + +Setting up your target to use a header-only version of ``fmt`` is equaly easy:: target_link_libraries( PRIVATE fmt-header-only)