mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 01:41:48 +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)
|