mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 10:04:14 +08:00
49d1759ec8
* [spdlog]Add feature[benchmark]
15 lines
553 B
Diff
15 lines
553 B
Diff
diff --git a/bench/CMakeLists.txt b/bench/CMakeLists.txt
|
|
index 3c4a3f9..3bc3813 100644
|
|
--- a/bench/CMakeLists.txt
|
|
+++ b/bench/CMakeLists.txt
|
|
@@ -46,3 +46,8 @@ add_executable(formatter-bench formatter-bench.cpp)
|
|
target_link_libraries(formatter-bench PRIVATE benchmark::benchmark spdlog::spdlog Threads::Threads)
|
|
|
|
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/logs")
|
|
+
|
|
+install(TARGETS bench async_bench latency
|
|
+ RUNTIME DESTINATION tools/spdlog
|
|
+ LIBRARY DESTINATION lib
|
|
+ ARCHIVE DESTINATION lib)
|
|
\ No newline at end of file
|