mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 02:17:50 +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)
|