Add SPDLOG_USE_STD_FORMAT to target_compile_definitions

This commit is contained in:
Charless Milette 2021-11-14 02:33:15 -05:00
parent 48e35f9c3e
commit d75de3d3b2

View File

@ -231,7 +231,8 @@ foreach(
SPDLOG_NO_THREAD_ID
SPDLOG_NO_TLS
SPDLOG_NO_ATOMIC_LEVELS
SPDLOG_DISABLE_DEFAULT_LOGGER)
SPDLOG_DISABLE_DEFAULT_LOGGER
SPDLOG_USE_STD_FORMAT)
if(${SPDLOG_OPTION})
target_compile_definitions(spdlog PUBLIC ${SPDLOG_OPTION})
target_compile_definitions(spdlog_header_only INTERFACE ${SPDLOG_OPTION})