Skip to content

Commit

Permalink
libfmt: Set FMT_USE_LOCALE=0
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm authored and AJenbo committed Oct 5, 2024
1 parent ac062a3 commit 9859403
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 3rdParty/libfmt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ FetchContent_Declare(libfmt
)
FetchContent_MakeAvailableExcludeFromAll(libfmt)

# We do not use locale-specific features of libfmt and disabling them reduces the size.
target_compile_definitions(fmt PUBLIC FMT_USE_LOCALE=0)

if(DEVILUTIONX_WINDOWS_NO_WCHAR)
target_compile_definitions(fmt PUBLIC FMT_USE_WRITE_CONSOLE)
endif()
Expand Down

0 comments on commit 9859403

Please sign in to comment.