vcpkg/ports/fmt/usage

9 lines
265 B
Plaintext
Raw Normal View History

The package fmt provides CMake targets:
find_package(fmt CONFIG REQUIRED)
target_link_libraries(main PRIVATE fmt::fmt)
# Or use the header-only version
2021-04-29 08:08:29 +08:00
find_package(fmt CONFIG REQUIRED)
target_link_libraries(main PRIVATE fmt::fmt-header-only)