aboutsummaryrefslogtreecommitdiff
path: root/ports/fmt/usage
blob: c9988aa79f79257238f25a4e7e144117f4a5f2b6 (plain)
1
2
3
4
5
6
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)