Rewrite fmt::throw_exception destructor

Add _DEBUG in debug mode for consistency with MSVC.
This commit is contained in:
Nekotekina 2021-01-18 13:49:16 +03:00
parent 0070fce286
commit e07484f057
2 changed files with 14 additions and 1 deletions

View file

@ -36,6 +36,8 @@ endif()
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
add_definitions(-DNDEBUG)
elseif(NOT MSVC)
add_definitions(-D_DEBUG)
endif()
if(NOT CMAKE_SIZEOF_VOID_P EQUAL 8)