Fixed #2724 by excluding bin_to_hex sink if using std::format

This commit is contained in:
gabime
2023-07-08 17:12:25 +03:00
parent bed324e414
commit 7e635fca68
4 changed files with 105 additions and 92 deletions

View File

@@ -54,6 +54,10 @@ if(systemd_FOUND)
list(APPEND SPDLOG_UTESTS_SOURCES test_systemd.cpp)
endif()
if(NOT SPDLOG_USE_STD_FORMAT)
list(APPEND SPDLOG_UTESTS_SOURCES test_bin_to_hex.cpp)
endif()
enable_testing()
function(spdlog_prepare_test test_target spdlog_lib)