update spdlog
This commit is contained in:
2
third_party/spdlog/example/CMakeLists.txt
vendored
2
third_party/spdlog/example/CMakeLists.txt
vendored
@ -25,5 +25,3 @@ if(SPDLOG_BUILD_EXAMPLE_HO)
|
||||
target_link_libraries(example_header_only PRIVATE spdlog::spdlog_header_only)
|
||||
endif()
|
||||
|
||||
# Create logs directory
|
||||
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/logs")
|
||||
|
2
third_party/spdlog/example/example.cpp
vendored
2
third_party/spdlog/example/example.cpp
vendored
@ -143,7 +143,7 @@ void async_example()
|
||||
#include "spdlog/fmt/bin_to_hex.h"
|
||||
void binary_example()
|
||||
{
|
||||
std::vector<char> buf;
|
||||
std::vector<char> buf(80);
|
||||
for (int i = 0; i < 80; i++)
|
||||
{
|
||||
buf.push_back(static_cast<char>(i & 0xff));
|
||||
|
1
third_party/spdlog/example/meson.build
vendored
1
third_party/spdlog/example/meson.build
vendored
@ -1,5 +1,4 @@
|
||||
executable('example', 'example.cpp', dependencies: spdlog_dep)
|
||||
executable('example_header_only', 'example.cpp', dependencies: spdlog_headeronly_dep)
|
||||
run_command(find_program('mkdir'), meson.current_build_dir() + '/logs')
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user