vcpkg/ports/spdlog/fix-feature-export.patch

15 lines
553 B
Diff
Raw Normal View History

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