mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 08:49:00 +08:00
9 lines
286 B
Plaintext
9 lines
286 B
Plaintext
|
The package spdlog provides CMake targets:
|
||
|
|
||
|
find_package(spdlog CONFIG REQUIRED)
|
||
|
target_link_libraries(main PRIVATE spdlog::spdlog)
|
||
|
|
||
|
# Or use the header-only version
|
||
|
find_package(spdlog CONFIG REQUIRED)
|
||
|
target_link_libraries(main PRIVATE spdlog::spdlog_header_only)
|